Module: ConcurrentRails::FutureAdapter
- Extended by:
- ActiveSupport::Concern
- Included in:
- Promises
- Defined in:
- lib/concurrent_rails/future_adapter.rb
Instance Method Summary collapse
Instance Method Details
#future_on_rails(*args, &task) ⇒ Object
17 18 19 20 21 |
# File 'lib/concurrent_rails/future_adapter.rb', line 17 def future_on_rails(*args, &task) @instance = rails_wrapped { future_on(executor, *args, &task) } self end |