Class: ActiveAsync::QueueAdapters::InlineAdapter
- Inherits:
-
Object
- Object
- ActiveAsync::QueueAdapters::InlineAdapter
- Defined in:
- lib/active_async/queue_adapters/inline_adapter.rb
Instance Method Summary collapse
-
#enqueue(*args) ⇒ Object
When enqueuing jobs, the inline adapter will be executed immediately.
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 |