Skip to main content

spawn_tracked

Function spawn_tracked 

Source
pub fn spawn_tracked<T, F>(join_set: &mut JoinSet<T>, future: F)
where T: Send + 'static, F: Future<Output = T> + Send + 'static,
Expand description

Spawns work tracked by the current task scope.