ecto_job v0.2.0 API Reference

Modules

Mixin for defining an Ecto schema for a Job Queue table in the database

Adds a job queue table with the given name, and attaches an insert trigger

Defines migrations for installing shared functions

GenStage producer responsible for reserving available jobs from a job queue, and passing them on to the consumer module

Internal state of the Producer GenStage

Job Queue supervisor that can be started with client applications

Worker module responsible for executing a single Job

GenStage ConsumerSupervisor that will spawn EctoJob.Worker tasks for jobs