Type Definition workflow_websocket::server::WebSocketSink
source · pub type WebSocketSink = TokioUnboundedSender<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.