builder library

The build_runner builder of dox_queue. Apps do not import it.

Classes

JobEntry
One @Job() class.
JobRegistryBuilder
Writes lib/generated/jobs.g.dart: a jobRegistry with every @Job() class of the app, and the code to save and load each one. Give it to the app: QueueConfig(jobs: jobRegistry).
JobRegistryWriter
Writes the code of lib/generated/jobs.g.dart.

Functions

buildJobRegistry(BuilderOptions options) → Builder
Writes lib/generated/jobs.g.dart with every @Job() class of the app.