Function monitor_standalone_task

Source
pub fn monitor_standalone_task<T: Send + 'static, E: Debug + Send + 'static + From<BridgeError>, C: Send + 'static>(
    task_handle: JoinHandle<Result<T, E>>,
    task_name: &str,
    monitor_err_sender: Sender<Result<C, E>>,
)
Expand description

Monitors a [tokio::task::JoinHandle] in the background and logs it’s end result.