queuetopia v0.5.1 Queuetopia.Jobs.Performer behaviour
The behaviour for a Queuetopia performer.
Link to this section Summary
Callbacks
Callback invoked by the Queuetopia to perfom a job. It may return :ok, an :ok tuple or a tuple error, with a string as error. Note that any failure in the processing will cause the job to be retried.
Link to this section Callbacks
Link to this callback
perform(arg1)
Specs
perform(Queuetopia.Jobs.Job.t()) :: :ok | {:ok, any()} | {:error, binary()}
Callback invoked by the Queuetopia to perfom a job. It may return :ok, an :ok tuple or a tuple error, with a string as error. Note that any failure in the processing will cause the job to be retried.