Module: ConcurrentRails::DelayAdapter

Extended by:
ActiveSupport::Concern
Included in:
Promises
Defined in:
lib/concurrent_rails/delay_adapter.rb

Instance Method Summary collapse

Instance Method Details

#delay_on_rails(*args, &task) ⇒ Object



17
18
19
20
21
# File 'lib/concurrent_rails/delay_adapter.rb', line 17

def delay_on_rails(*args, &task)
  @instance = rails_wrapped { delay_on(executor, *args, &task) }

  self
end