function Promise.resolve(...)local M,J=pack(...)return Promise._new(debug.traceback(nil,2),function(C)C(unpack(J,1,M))end)end Promise.Resolve=Promise.resolve

function Promise.resolve(...)
	local length, values = pack(...)
	return Promise._new(debug.traceback(nil, 2), function(resolve)
		resolve(unpack(values, 1, length))
	end)
end
Promise.Resolve = Promise.resolve
