function ContentProviderUtils.promisePreload(q)assert(type(q)=="\116\097\098\108\101","\066\097\100 \099\111\110\116\101\110\116\073\100\076\105\115\116")return Promise.spawn(function(U,j)local Z,K=pcall(function()ContentProvider:PreloadAsync(q)end)if not Z then return j(K)end U()end)end return ContentProviderUtils
--[=[
	Preloads assets
	:::note
	If strings are passed in, it only preloads textures, and will preload meshes, but only to http client.
	:::

	@param contentIdList { Instance | string }
	@return Promise
]=]
function ContentProviderUtils.promisePreload(contentIdList)
	assert(type(contentIdList) == "table", "Bad contentIdList")

	return Promise.spawn(function(resolve, reject)
		local ok, err = pcall(function()
			ContentProvider:PreloadAsync(contentIdList)
		end)

		if not ok then
			return reject(err)
		end

		resolve()
	end)
end

return ContentProviderUtils
