GenQueue Oban v0.1.0 GenQueue.Adapters.Oban View Source
Link to this section Summary
Functions
Push a GenQueue.Job
for Oban
to consume.
Callback implementation for GenQueue.Adapter.push/2
Link to this section Functions
Link to this function
handle_job(gen_queue, job)
View Sourcehandle_job(gen_queue :: GenQueue.t(), job :: GenQueue.Job.t()) :: {:ok, GenQueue.Job.t()} | {:error, any()}
Push a GenQueue.Job
for Oban
to consume.
Parameters:
gen_queue
- AGenQueue
modulejob
- AGenQueue.Job
Returns:
{:ok, job}
if the operation was successful{:error, reason}
if there was an error
Callback implementation for GenQueue.Adapter.push/2