function Promise.reject(...)local W,k=pack(...)return Promise._new(debug.traceback(nil,2),function(w,m)m(unpack(k,1,W))end)end Promise.Reject=Promise.reject
--[[
	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
Promise.Reject = Promise.reject
