async_queue library

This dart package ensure your pack of async task perform in order, one after the other.

  • (Normal Queue) Add multiple jobs into queue before firing
  • (Auto Queue) Firing job as soon as any job is added to the queue
  • (Both) Option to add queue listener that happens before or after execute every job

Classes

AsyncQueue
AsyncQueue
QueueEvent
QueueEvent

Enums

JobState
states of a job
QueueEventType
types of Queue Event

Typedefs

AsyncJob = dynamic Function(dynamic previousResult)
a single job that need to be added to the Queue
PreviousResult = dynamic
QueueListener = dynamic Function(QueueEvent event)

Exceptions / Errors

ClosedQueueException
DuplicatedLabelException
InvalidJobLabelException