simple_async_executor library

Classes

AsyncTask<O>
Class that represents a task that must be executed
BaseExecutor<O>
Class that runs the AsyncTasks in a random order
PriorityExecutor<O>
Creates a Executor that handles its waiting queue with a PriorityPool
PriorityTask<O>
A task that includes also a value of priority to reorganize the tasks in runtime

Typedefs

AsyncTaskCallback<O> = Future<O?> Function()
Callback for an AsyncTask