Skip to main content

owner_work

Function owner_work 

Source
pub async fn owner_work<T, F>(work: F) -> Result<T>
where T: Send + 'static, F: FnOnce() -> Result<T> + Send + 'static,
Expand description

One bounded blocking boundary for held filesystem/process identity work. The worker retains its permit and captured handles if the waiter cancels.