function Promise.resolve(...)local q,n=pack(...)return Promise._new(debug.traceback(nil,2),function(g)g(unpack(n,1,q))end)end

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