class Concurrent::Promises::ImmediateFuturePromise

def initialize(default_executor, fulfilled, value, reason)

def initialize(default_executor, fulfilled, value, reason)
  super Future.new(self, default_executor).
      resolve_with(fulfilled ? Fulfilled.new(value) : Rejected.new(reason))
end