function Promise.resolve(...)local D,m=pack(...)return Promise._new(debug.traceback(nil,2),function(T)T(unpack(m,1,D))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
