Skip to main content

sync_scope

Function sync_scope 

Source
pub fn sync_scope<R>(authority: Authority, operation: impl FnOnce() -> R) -> R
Expand description

Run one synchronous handler under authority (task locals do not reach the blocking pool).