/// Send CTRL c signal to all channels in send array
Send CTRL c signal to all channels in send array
Send CTRL c signal to all channels in send array
fn send_ctrlc_signal(send_channels: Vec<Sender<bool>>) {
    let _ = run_block_on(async move {
        for mut send_channel in send_channels {
            send_channel.send(true).await.expect("should not fail");
        }
        Ok(()) as Result<(), ()>
    });
}
fn send_ctrlc_signal ( send_channels : Vec < Sender < bool > > ) { let _ = run_block_on ( async move { for mut send_channel in send_channels { send_channel . send ( true ) . await . expect ( " " ) ; } Ok ( ( ) ) as Result < ( ) , ( ) > } ) ; }
Send CTRL c signal to all channels in send array
Send CTRL c signal to all channels in send array
send_channels
Vec<Sender<bool>>