class Concurrent::Edge::ZipEventsPromise

@!visibility private

Public Class Methods

new(blocked_by_futures, default_executor) click to toggle source
Calls superclass method Concurrent::Edge::BlockedPromise.new
# File lib/concurrent/edge/future.rb, line 1323
def initialize(blocked_by_futures, default_executor)
  super(Event.new(self, default_executor), blocked_by_futures, blocked_by_futures.size)

  on_completable nil if blocked_by_futures.empty?
end

Private Instance Methods

on_completable(done_future) click to toggle source
# File lib/concurrent/edge/future.rb, line 1329
def on_completable(done_future)
  complete_with Event::COMPLETED
end