GenQueue.Adapters.TaskBunny (Carguero GenQueue TaskBunny v0.0.1) View Source
An adapter for GenQueue to enable functionaility with TaskBunny.
Link to this section Summary
Functions
Push a GenQueue.Job for TaskBunny to consume.
Callback implementation for GenQueue.Adapter.push/2
Link to this section Functions
Specs
handle_job(gen_queue :: GenQueue.t(), job :: GenQueue.Job.t()) :: {:ok, GenQueue.Job.t()} | {:error, any()}
Push a GenQueue.Job for TaskBunny to consume.
Parameters:
gen_queue- AGenQueuemodulejob- AGenQueue.Job
Returns:
{:ok, job}if the operation was successful{:error, reason}if there was an error
Callback implementation for GenQueue.Adapter.push/2