function Promise.reject(...)local x,N=pack(...)return Promise._new(debug.traceback(nil,2),function(M,f)f(unpack(N,1,x))end)end
--[[
	Create a promise that represents the immediately rejected value.
]]
function Promise.reject(...)
	local length, values = pack(...)
	return Promise._new(debug.traceback(nil, 2), function(_, reject)
		reject(unpack(values, 1, length))
	end)
end
