pub async fn wait_stop_signal(stop_signal: &Receiver<()>) -> Result<()>
Async task to wait for listener’s stop signal.