class Concurrent::Promises::AbstractPromise
def evaluate_to(*args, block)
-
(Future)
-
def evaluate_to(*args, block) resolve_with Fulfilled.new(block.call(*args)) rescue Exception => error resolve_with Rejected.new(error) raise error unless error.is_a?(StandardError) end