Skip to main content

join_logged

Function join_logged 

Source
pub async fn join_logged(handle: JoinHandle<()>, what: &str)
Expand description

Await a sibling relay task’s handle, logging a panic (but not a normal post-cancellation abort). Awaiting the handle keeps a stray panic from vanishing the way a bare let _ = handle.await would.