module Concurrent::Promises::Future::FlatShortcuts

@!macro warn.edge

Public Instance Methods

then_flat(*args, &block)
Alias for: then_flat_future
then_flat_event(*args, &block) click to toggle source

@return [Event]

# File lib-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) click to toggle source

@return [Event]

# File lib-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) click to toggle source

@return [Future]

# File lib-edge/concurrent/edge/promises.rb, line 25
def then_flat_future(*args, &block)
  self.then(*args, &block).flat_future
end
Also aliased as: then_flat
then_flat_future_on(executor, *args, &block) click to toggle source

@return [Future]

# File lib-edge/concurrent/edge/promises.rb, line 32
def then_flat_future_on(executor, *args, &block)
  self.then_on(executor, *args, &block).flat_future
end
Also aliased as: then_flat_on
then_flat_on(executor, *args, &block)
Alias for: then_flat_future_on