OffBroadwayWebSocket.Producer (off_broadway_websocket v0.2.1)
A GenStage producer that manages WebSocket connections using the gun library.
This module establishes a WebSocket connection, and manages message dispatching based on demand. It monitors the WebSocket connection with ping/pong messages and terminates connection when timeouts occur.
Summary
Functions
@spec dispatch_events(OffBroadwayWebSocket.State.t()) :: {atom(), list(), OffBroadwayWebSocket.State.t()}