class Concurrent::Edge::ZipEventEventPromise
@!visibility private
Public Class Methods
new(event1, event2, default_executor)
click to toggle source
Calls superclass method
Concurrent::Edge::BlockedPromise.new
# File lib/concurrent/edge/future.rb, line 1221 def initialize(event1, event2, default_executor) super Event.new(self, default_executor), [event1, event2], 2 end
Public Instance Methods
on_completable(done_future)
click to toggle source
# File lib/concurrent/edge/future.rb, line 1225 def on_completable(done_future) complete_with Event::COMPLETED end