function DataStorePromises.promiseIncrementAsync(I,b,V)assert(typeof(I)=="\073\110\115\116\097\110\099\101","\066\097\100 \114\111\098\108\111\120\068\097\116\097\083\116\111\114\101")assert(type(b)=="\115\116\114\105\110\103","\066\097\100 \107\101\121")assert(type(V)=="\110\117\109\098\101\114"or V==nil,"\066\097\100 \100\101\108\116\097")return Promise.spawn(function(p,h)local t,i=pcall(function()I:IncrementAsync(b,V)end)if not t then return h(i)end return p(true)end)end
--[=[
	Wraps :IncrementAsync() in a promise
	@param robloxDataStore DataStore
	@param key string
	@param delta number
	@return Promise<boolean>
]=]
function DataStorePromises.promiseIncrementAsync(robloxDataStore, key, delta)
	assert(typeof(robloxDataStore) == "Instance", "Bad robloxDataStore")
	assert(type(key) == "string", "Bad key")
	assert(type(delta) == "number" or delta == nil, "Bad delta")

	return Promise.spawn(function(resolve, reject)
		local ok, err = pcall(function()
			robloxDataStore:IncrementAsync(key, delta)
		end)
		if not ok then
			return reject(err)
		end
		return resolve(true)
	end)
end
