function PlayerDataStoreService.PromiseManager(v)if v._dataStoreManagerPromise then return v._dataStoreManagerPromise end v._dataStoreManagerPromise=(v._started:Then(function()return DataStorePromises.promiseDataStore(v._dataStoreName,v._dataStoreScope)end)):Then(function(S)local f=PlayerDataStoreManager.new(S,function(v)return tostring(v.UserId)end)v._maid:GiveTask(f)return f end)return v._dataStoreManagerPromise end return PlayerDataStoreService

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
