WebSocket.eventLoop

Runs an event loop with all known websockets on this thread until all websockets are closed or unregistered, or until you call exitEventLoop, or set *localLoopExited to false (please note it may take a few seconds until it checks that flag again; it may not exit immediately).

class WebSocket
static
void
eventLoop
(
shared(bool)* localLoopExited = null
)

See Also

Meta

History

The localLoopExited parameter was added August 22, 2022 (dub v10.9)