public interface ITaskScheduler
Tasks must implement the ITask
interface. This allows a task consumer to run tasks on a specific thread if needed.
Modifier and Type | Method and Description |
---|---|
void |
schedule(ITask task)
Implement this method to execute the given
ITask with the desired context. |