pub type WebSocketSink = UnboundedSender<Message>;
Expand description
WebSocketSink tokio::sync::mpsc::UnboundedSender
for dispatching
messages from within the WebSocketHandler::message
. This is an
MPSC
channel that can be cloned and retained externally for the
lifetime of the WebSocket connection.
Aliased Typeยง
struct WebSocketSink { /* private fields */ }