Queue class

Constructors

Queue({int parallel = 5})

Properties

hashCode int
The hash code for this object.
no setterinherited
parallel int
getter/setter pair
pending int
no setter
processing int
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(Task task, {dynamic priority = 1}) Future
Add a new task
addAll(Iterable<Task> tasks, {dynamic priority = 1}) Future
Add some new tasks
clear() → void
Clear all pending tasks
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
whenComplete() Future

Operators

operator ==(Object other) bool
The equality operator.
inherited