pub async fn run_service<T: Service>(
service: T,
endpoint: EndpointHandle,
client_rx: UnboundedReceiver<ClientMessage>,
)Expand description
Run the service forever, consuming the Message events and triggering the callbacks.
pub async fn run_service<T: Service>(
service: T,
endpoint: EndpointHandle,
client_rx: UnboundedReceiver<ClientMessage>,
)Run the service forever, consuming the Message events and triggering the callbacks.