Module: Concurrent::Promises::Future::FlatShortcuts
Relationships & Source Files | |
Extension / Inclusion / Inheritance Descendants | |
Included In:
| |
Defined in: | lib/concurrent-ruby-edge/concurrent/edge/promises.rb |
Overview
Note:
**Edge Features** are under active development and may change frequently.
-
Deprecations are not added before incompatible changes.
-
Edge
version: major is always 0, minor bump means incompatible change, patch bump means compatible change. -
Edge
features may also lack tests and documentation. -
Features developed in
concurrent-ruby-edge
are expected to move toconcurrent-ruby
when finalised.
Instance Method Summary
-
#then_flat(*args, &block)
Alias for #then_flat_future.
- #then_flat_event(*args, &block) ⇒ Event
- #then_flat_event_on(executor, *args, &block) ⇒ Event
- #then_flat_future(*args, &block) ⇒ Future (also: #then_flat)
- #then_flat_future_on(executor, *args, &block) ⇒ Future (also: #then_flat_on)
-
#then_flat_on(executor, *args, &block)
Alias for #then_flat_future_on.
Instance Method Details
#then_flat(*args, &block)
Alias for #then_flat_future.
# File 'lib/concurrent-ruby-edge/concurrent/edge/promises.rb', line 29
alias_method :then_flat, :then_flat_future
#then_flat_event(*args, &block) ⇒ Event
# File 'lib/concurrent-ruby-edge/concurrent/edge/promises.rb', line 39
def then_flat_event(*args, &block) self.then(*args, &block).flat_event end
#then_flat_event_on(executor, *args, &block) ⇒ Event
# File 'lib/concurrent-ruby-edge/concurrent/edge/promises.rb', line 44
def then_flat_event_on(executor, *args, &block) self.then_on(executor, *args, &block).flat_event end
#then_flat_future(*args, &block) ⇒ Future Also known as: #then_flat
# File 'lib/concurrent-ruby-edge/concurrent/edge/promises.rb', line 25
def then_flat_future(*args, &block) self.then(*args, &block).flat_future end
#then_flat_future_on(executor, *args, &block) ⇒ Future Also known as: #then_flat_on
# File 'lib/concurrent-ruby-edge/concurrent/edge/promises.rb', line 32
def then_flat_future_on(executor, *args, &block) self.then_on(executor, *args, &block).flat_future end
#then_flat_on(executor, *args, &block)
Alias for #then_flat_future_on.
# File 'lib/concurrent-ruby-edge/concurrent/edge/promises.rb', line 36
alias_method :then_flat_on, :then_flat_future_on