Function tikv_util::worker::pool::dummy_scheduler [−][src]
pub fn dummy_scheduler<T: Display + Send>(
) -> (Scheduler<T>, ReceiverWrapper<T>)
Creates a scheduler that can’t schedule any task.
Useful for test purpose.