module Concurrent::Promises::FactoryMethods

def resolved_future(fulfilled, value, reason, default_executor = self.default_executor)

Returns:
  • (Future) -

Parameters:
  • reason (Object) --
  • value (Object) --
  • fulfilled (true, false) --
def resolved_future(fulfilled, value, reason, default_executor = self.default_executor)
  ImmediateFuturePromise.new(default_executor, fulfilled, value, reason).future
end