Jorb v0.2.3 Jorb.Backend behaviour View Source
The backend behavior represents a queueing abstraction.
Jorb requires four functions to be defined for a backend:
setup/1
, enqueue/2
, c:dequeue/1
, and finalize/2
Setup handles anything to create the underlying queue Enqueue pushes a message on to the queue Dequeue pulls the next message from the queue Finalize removes the given message from the queue