class Concurrent::Promises::AnyFulfilledFuturePromise

Private Instance Methods

resolvable?(countdown, future, index) click to toggle source
# File lib/concurrent-ruby/concurrent/promises.rb, line 2077
def resolvable?(countdown, future, index)
  future.fulfilled? ||
      # inlined super from BlockedPromise
      countdown.zero?
end