captain_hook v0.2.0 CaptainHook.Queue
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Callback implementation for Queuetopia.create_job/4
.
Starts the Queuetopia supervisor process. The :poll_interval can also be given in order to config the polling interval of the scheduler.
Link to this section Types
Link to this type
option()
Specs
option() :: {:poll_interval, non_neg_integer()}
Option values used by the start*
functions
Link to this section Functions
Link to this function
child_spec(init_arg)
Returns a specification to start this module under a supervisor.
See Supervisor
.
Link to this function
create_job(queue, action, params, opts \\ [])
Specs
create_job(binary(), binary(), map(), [Queuetopia.Jobs.Job.option()]) :: {:error, Ecto.Changeset.t()} | {:ok, Queuetopia.Jobs.Job.t()}
Callback implementation for Queuetopia.create_job/4
.
Link to this function
performer()
Link to this function
repo()
Link to this function
scope()
Link to this function
start_link(opts \\ [])
Specs
start_link([option()]) :: Supervisor.on_start()
Starts the Queuetopia supervisor process. The :poll_interval can also be given in order to config the polling interval of the scheduler.