Function leak_playground_tokio::task::spawn_blocking_scoped
source · pub fn spawn_blocking_scoped<'a, F, T>(f: F) -> ScopedJoinHandle<'a, T> ⓘ
Expand description
Runs the provided non-static closure on a thread where blocking is acceptable.