TaskBunny v0.3.2 TaskBunny.Publisher View Source
Conviniences for publishing messages to a queue.
It’s a semi private module and provides lower level functions. You should use Job.enqueue to enqueue a job from your application.
Link to this section Summary
Link to this section Functions
Publish a message to the queue.
Returns :ok
when the message has been successfully sent to the server.
Otherwise returns {:error, detail}
Similar to publish/4 but raises exception on error.