[][src]Function desync::scheduler::try_sync

pub fn try_sync<FnResult: Send, TFn: Send + FnOnce() -> FnResult>(
    queue: &Arc<JobQueue>,
    job: TFn
) -> Result<FnResult, TrySyncError>

Performs an action synchronously on the specified queue