pub async fn wait_stop_signal(stop_signal: &Receiver<()>) -> Result<()>
Expand description

Async task to wait for listener’s stop signal.