class Concurrent::Edge::ZipFutureEventPromise

@!visibility private

Public Class Methods

new(future, event, default_executor) click to toggle source
Calls superclass method Concurrent::Edge::BlockedPromise.new
# File lib/concurrent/edge/future.rb, line 1232
def initialize(future, event, default_executor)
  super Future.new(self, default_executor), [future, event], 2
  @FutureResult = future
end

Public Instance Methods

on_completable(done_future) click to toggle source
# File lib/concurrent/edge/future.rb, line 1237
def on_completable(done_future)
  complete_with @FutureResult.internal_state
end