async_queue 1.2.0 copy "async_queue: ^1.2.0" to clipboard
async_queue: ^1.2.0 copied to clipboard

outdated

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

1.2.0 #

  • add stop() to stop and remove all remaining jobs in the queue
  • add retry() to retry the job, default to 1 time, but user can set as many time as they want
  • remove {bool forceStop = false} in close() since we now have stop method
  • fix typo
  • add test cases

1.1.1 #

  • add Flutter use cases into README

1.1.0 #

  • [breaking change] remove beforeListener and afterListener. One listener will emit event with type.
  • add close({bool forceStop = false}) close the queue so that no more job can be added. [forceStop] if true, all remain jobs will be canceled
  • addJobThrow Add new job in to the queue if the queue is closed, throw [ClosedQueueException]
  • add test cases

1.0.0 #

  • (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
19
likes
0
pub points
91%
popularity

Publisher

verified publishersamderlust.com

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

Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on async_queue