gen_queue v0.1.8 GenQueue.Adapters.MockJob View Source
A simple mock job queue implementation.
Link to this section Summary
Functions
Push a job that will be returned to the current (or globally set) processes mailbox
Callback implementation for GenQueue.Adapter.push/2
Link to this section Functions
Link to this function
handle_job(gen_queue, job)
View Source
handle_job(gen_queue :: GenQueue.t(), job :: GenQueue.Job.t()) :: {:ok, GenQueue.Job.t()} | {:error, any()}
Push a job that will be returned to the current (or globally set) processes mailbox.
Please see GenQueue.Test for further details.
Callback implementation for GenQueue.Adapter.push/2