Methods

Files

Class/Module Index [+]

Quicksearch

Concurrent::Edge::ZipPromise

@!visibility private

Public Class Methods

new(blocked_by_futures, default_executor) click to toggle source
# File lib/concurrent/edge/future.rb, line 1241
def initialize(blocked_by_futures, default_executor)
  klass = Event
  blocked_by_futures.each do |f|
    if f.is_a?(Future)
      if klass == Event
        klass = Future
        break
      end
    end
  end

  # noinspection RubyArgCount
  super(klass.new(self, default_executor), blocked_by_futures, blocked_by_futures.size)

  if blocked_by_futures.empty?
    on_completable nil
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.