lib-edge/concurrent/edge/promises.rb
def select_channel(*channels)
          probe = Promises.resolvable_future
          channels.each { |ch| ch.pop_for_select probe }
          probe
        end
# Selects a channel which is ready to be read from.
# @param [Channel] channels
# @return [Future] a future which is fulfilled with pair [channel, message] when one of the channels is
#   available for reading
Selects a channel which is ready to be read from.
Selects a channel which is ready to be read from .
def select_channel(*channels)
          probe = Promises.resolvable_future
          channels.each { |ch| ch.pop_for_select probe }
          probe
        end
def select_channel ( * channels ) probe = Promises . resolvable_future channels . each { | ch | ch . pop_for_select probe } probe end
Selects a channel which is ready to be read from.
Selects a channel which is ready to be read from .
a future which is fulfilled with pair [channel, message] when one of the channels is available for reading
a future which is fulfilled with pair [ channel message ] when one of the channels is available for reading
Future
channels
None