Skip to main content

join

Function join 

Source
pub async fn join<T>(handle: JoinHandle<T>) -> T
Expand description

Await a spawned task and return its output.

Normalizes the difference between backends: compio’s JoinHandle now awaits to Result<T, JoinError> (like tokio), so unwrap the join error here.