class Concurrent::Edge::FutureWrapperPromise
@!visibility private
Public Class Methods
new(future, default_executor)
click to toggle source
Calls superclass method
Concurrent::Edge::BlockedPromise.new
# File lib/concurrent/edge/future.rb, line 1276 def initialize(future, default_executor) super Future.new(self, default_executor), future, 1 end
Public Instance Methods
on_completable(done_future)
click to toggle source
# File lib/concurrent/edge/future.rb, line 1280 def on_completable(done_future) complete_with done_future.internal_state end