Method: ActiveJob::QueueAdapters::AsyncAdapter#enqueue_at

Defined in:
activejob/lib/active_job/queue_adapters/async_adapter.rb

#enqueue_at(job, timestamp) ⇒ Object

:nodoc:



43
44
45
# File 'activejob/lib/active_job/queue_adapters/async_adapter.rb', line 43

def enqueue_at(job, timestamp) # :nodoc:
  @scheduler.enqueue_at JobWrapper.new(job), timestamp, queue_name: job.queue_name
end