darkfid::task::miner

Function wait_stop_signal

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

Async task to wait for listener’s stop signal.