Connects to one channel's chat and keeps it up until close(): whatever
ends a connection, onDrop says why and how long connectChat waits before
the next (long after a terminal one). No callback fires after close(),
which may be called more than once, and from inside a callback. Throws at
once on a mistake in the options, or when the runtime has no WebSocket and
none is given.
Connects to one channel's chat and keeps it up until
close(): whatever ends a connection,onDropsays why and how long connectChat waits before the next (long after aterminalone). No callback fires afterclose(), which may be called more than once, and from inside a callback. Throws at once on a mistake in the options, or when the runtime has no WebSocket and none is given.