Que v0.2.0 Que

TODO: Add detailed usage docs about the Que package

Summary

Functions

Enqueues a Job to be processed by Que

Starts the Que Application (and its Supervision Tree)

Functions

add(worker, arguments)
add(worker :: module, arguments :: term) :: :ok

Enqueues a Job to be processed by Que.

Accepts the worker module name and a term to be passed to the worker as arguments.

Example

Que.add(App.Workers.FileDownloader, {"http://example.com/file/path.zip", "/some/local/path.zip"})
#=> :ok

Que.add(App.Workers.SignupMailer, to: "some@email.com", message: "Thank you for Signing up!")
#=> :ok
start(type, args)

Starts the Que Application (and its Supervision Tree)