Function desync::scheduler::sync

source ·
pub fn sync<Result: Send, TFn: Send + FnOnce() -> Result>(
    queue: &Arc<JobQueue>,
    job: TFn
) -> Result
Expand description

Performs an action synchronously on the specified queue