Class: ActiveAsync::QueueAdapters::InlineAdapter

Inherits:
Object
  • Object
show all
Defined in:
lib/active_async/queue_adapters/inline_adapter.rb

Instance Method Summary collapse

Instance Method Details

#enqueue(*args) ⇒ Object

When enqueuing jobs, the inline adapter will be executed immediately



6
7
8
# File 'lib/active_async/queue_adapters/inline_adapter.rb', line 6

def enqueue(*args)
  ActiveAsync::Async.perform(*args)
end