add<T> abstract method
Adds a Future-returning closure to the queue.
The closure will be executed when its turn comes up in the queue.
Throws a QueueCancelledException if the queue has been cancelled.
Implementation
Future<T> add<T>(Future<T> Function() closure);