class Concurrent::Promises::AnyFulfilledFuturePromise

Private Instance Methods

resolvable?(countdown, event_or_future, index) click to toggle source
# File lib/concurrent-ruby/concurrent/promises.rb, line 2078
def resolvable?(countdown, event_or_future, index)
  (event_or_future.is_a?(Event) ? event_or_future.resolved? : event_or_future.fulfilled?) ||
      # inlined super from BlockedPromise
      countdown.zero?
end