Jorb v0.2.3 Jorb.Job behaviour View Source

Jorb.Job defines the mixin that you will use to create jobs.

Define the queue_name/0 and perform/1 callbacks in the including module.

Jorb will not take care of creating queues for you, that must be done ahead of time.

Link to this section Summary

Link to this section Callbacks

Link to this callback perform(any) View Source
perform(any()) :: :ok
Link to this callback queue_name() View Source
queue_name() :: String.t()