pub async fn serve_until_shutdown(
web_listener: TcpListener,
ws_listener: TcpListener,
router: Router,
stdin_token: &CancellationToken,
)Expand description
Serves the web and WebSocket listeners until one fails or stdin_token is cancelled.