pub trait RunTask {
// Required method
fn run(&self, task: RunnableTask);
}
Expand description
Runs a given task to completion in a platform agnostic way. In multithreaded environments can be run concurrently and in single threaded environments will run on the same thread.