Flowdock
method

enqueue

Importance_1
v4.2.1 - Show latest stable - 0 notes - Class: Enqueuing
enqueue(options={}) public

Enqueues the job to be performed by the queue adapter.

Options

  • :wait - Enqueues the job with the specified delay

  • :wait_until - Enqueues the job at the time specified

  • :queue - Enqueues the job on the specified queue

Examples

my_job_instance.enqueue
my_job_instance.enqueue wait: 5.minutes
my_job_instance.enqueue queue: :important
my_job_instance.enqueue wait_until: Date.tomorrow.midnight
Show source
Register or log in to add new notes.