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

Manages sequential job execution, ensuring jobs run in order, crucial for ordered task processing.

1.2.0 #

  • Added JobSequencerTimer class - a timer-based implementation that uses a periodic timer to check for jobs, eliminating race conditions.
  • Fixed _tryExecuteJobs() to properly await in JobSequencer class.

1.1.1 #

  • Fixed reset() to properly clear running job indexes, preventing stale state from affecting subsequent job execution.
  • Fixed bug where running jobs would increment the internal index after reset() was called, making the class execute jobs out of order in some cases.

1.1.0 #

  • Added getNextIndex() method to retrieve the next job index without adding a job.

1.0.0 #

  • Initial version.
0
likes
160
points
261
downloads

Publisher

unverified uploader

Weekly Downloads

Manages sequential job execution, ensuring jobs run in order, crucial for ordered task processing.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on job_sequencer