Skip to main content

join

Function join 

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

Await a spawned task and return its output.

Normalizes the difference between backends: compio’s task awaits directly to the output, so this is just the await.