function PlayerDataStoreService.PromiseManager(y)if y._dataStoreManagerPromise then return y._dataStoreManagerPromise end y._dataStoreManagerPromise=(y._started:Then(function()return DataStorePromises.promiseDataStore(y._dataStoreName,y._dataStoreScope)end)):Then(function(Z)local s=PlayerDataStoreManager.new(Z,function(y)return tostring(y.UserId)end)y._maid:GiveTask(s)return s end)return y._dataStoreManagerPromise end return PlayerDataStoreService
--[=[
	Retrieves the manager
	@return PlayerDataStoreManager
]=]
function PlayerDataStoreService:PromiseManager()
	if self._dataStoreManagerPromise then
		return self._dataStoreManagerPromise
	end

	self._dataStoreManagerPromise = self._started
		:Then(function()
			return DataStorePromises.promiseDataStore(self._dataStoreName, self._dataStoreScope)
		end)
		:Then(function(dataStore)
			local manager = PlayerDataStoreManager.new(dataStore, function(player)
				return tostring(player.UserId)
			end)
			self._maid:GiveTask(manager)
			return manager
		end)

	return self._dataStoreManagerPromise
end

return PlayerDataStoreService
