toniq v1.0.8 Toniq

Summary

Functions

Delete a failed job

Enqueue job to be run in the background as soon as possible

Enqueue for use in pipelines

List failed jobs

Retry a failed job

Callback implementation for Application.start/2

Functions

delete(job)

Delete a failed job

enqueue(worker_module, arguments \\ [])

Enqueue job to be run in the background as soon as possible

enqueue_to(arguments, worker_module)

Enqueue for use in pipelines

Example:

params |> extract_data |> Toniq.enqueue_to(SendEmailWorker)

failed_jobs()

List failed jobs

retry(job)

Retry a failed job

start(type, args)

Callback implementation for Application.start/2.