Skip to main content

scope_tasks

Function scope_tasks 

Source
pub async fn scope_tasks<F>(future: F) -> F::Output
where F: Future,
Expand description

Runs an operation in a task scope and waits for cancelled descendants to finish dropping.