AsyncQueue class Null safety

AsyncQueue

a queue of async jobs that ensure those jobs will be execute in order, first come first serve

Constructors

AsyncQueue()
initialize normal queue
AsyncQueue.autoStart()
initialize auto queue
factory

Properties

hashCode int
The hash code for this object.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
size int
current size of the queue
read-only

Methods

addJob(AsyncJob job) → void
Add new job into the queue
addQueueAfterListener(QueueListener listener) → void
Add After Listener
addQueueBeforeListener(QueueListener listener) → void
Add Before Listener
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
start() Future
to start the execution of jobs in queue
toString() String
A string representation of this object.
inherited

Operators

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