Skip to main content

dox_queue 3.0.0-alpha.3 copy "dox_queue: ^3.0.0-alpha.3" to clipboard
dox_queue: ^3.0.0-alpha.3 copied to clipboard

Background jobs for the Dox framework: Redis, database and sync drivers, retries, delays and workers.

3.0.0-alpha.3 #

  • A job with no fields no longer gives an "unused variable" warning in lib/generated/jobs.g.dart.

3.0.0-alpha.2 #

  • The builder now writes the job registry to lib/generated/jobs.g.dart. Import it from there.

3.0.0-alpha.1 #

  • First version.
  • Jobs: @Job() and DoxJob with tries, backoff, timeout, queue and a failed() hook.
  • A builder writes lib/jobs.g.dart: it saves and loads the constructor parameters of each job, with no mirrors.
  • dispatch(), dispatchSync() and Queue.dispatch() with delay and queue.
  • Drivers: sync, database (Postgres, MySQL, MariaDB, SQLite) and redis.
  • QueueService sets up the queue in every isolate. workInProcess runs a worker in the web server.
  • QueueWorker for bin/queue.dart: work, failed, retry, forget and flush.
  • Retries with backoff, failed jobs, timeouts, delayed jobs, crashed worker recovery and graceful stop.
  • QueueTables makes the jobs and failed_jobs tables.
0
likes
0
points
346
downloads

Publisher

verified publisherdartondox.dev

Weekly Downloads

Background jobs for the Dox framework: Redis, database and sync drivers, retries, delays and workers.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

analyzer, build, dart_style, dox_core, dox_orm, glob, ioredis

More

Packages that depend on dox_queue