ecto_job v0.2.0 EctoJob.WorkerSupervisor View Source
GenStage ConsumerSupervisor that will spawn EctoJob.Worker
tasks for jobs.
Link to this section Summary
Functions
Starts the ConsumerSupervisor
Link to this section Functions
Link to this function
start_link(list)
View Source
start_link(repo: module(), subscribe_to: Keyword.t()) :: Supervisor.on_start()
Starts the ConsumerSupervisor
repo
: The Ecto.Repo modulesubscribe_opts
: Should contain [{producer_name, max_demand: max_demand}]