pub trait TaskProvider: 'static + Send + Sync { // Required method fn next_task(&self) -> Option<Box<dyn WorkUnit>>; }
Provides a group of work units that compose a task.
Gets the next task to execute.