module Concurrent::Promises::Future::ActorIntegration
@!macro warn.edge
Public Instance Methods
then_ask(actor)
click to toggle source
Asks the actor with its value. @return [Future] new future with the response form the actor
# File lib/concurrent-ruby-edge/concurrent/edge/promises.rb, line 14 def then_ask(actor) self.then(actor) { |v, a| a.ask_op(v) }.flat end