GenQueue TaskBunny v0.1.0 GenQueue.Adapters.TaskBunny View Source
An adapter for GenQueue
to enable functionaility with TaskBunny
.
Link to this section Summary
Functions
Push a job for TaskBunny to consume
Callback implementation for GenQueue.Adapter.start_link/2
Link to this section Types
Link to this section Functions
Push a job for TaskBunny to consume.
Parameters:
gen_queue
- Any GenQueue modulejob
- Any valid job formatopts
- A keyword list of job options
Options
:queue
- The queue to push the job to.:delay
- Either aDateTime
or millseconds-based integer.
Returns:
{:ok, {module, args, opts}}
if the operation was successful{:error, reason}
if there was an error
Callback implementation for GenQueue.Adapter.start_link/2
.