function DataStoreStage.Wipe(n)return(n._loadParent:Load(n._loadName,{})):Then(function(u)for u,t in pairs(u)do if n._stores[u]then n._stores[u]:Wipe()else n:_doStore(u,DataStoreDeleteToken)end end end)end function DataStoreStage.Store(t,n,u)if t._takenKeys[n]then error(("\091\068\097\116\097\083\116\111\114\101\083\116\097\103\101\093 - \065\108\114\101\097\100\121 \104\097\118\101 \097 \119\114\105\116\101\114 \102\111\114 \037\113"):format(n))end if u==nil then u=DataStoreDeleteToken end t:_doStore(n,u)end
--[=[
	Queues up a wipe of all values. Data must load before it can be wiped.
]=]
function DataStoreStage:Wipe()
	return self._loadParent:Load(self._loadName, {}):Then(function(data)
		for key, _ in pairs(data) do
			if self._stores[key] then
				self._stores[key]:Wipe()
			else
				self:_doStore(key, DataStoreDeleteToken)
			end
		end
	end)
end

function DataStoreStage:Store(name, value)
	if self._takenKeys[name] then
		error(("[DataStoreStage] - Already have a writer for %q"):format(name))
	end

	if value == nil then
		value = DataStoreDeleteToken
	end

	self:_doStore(name, value)
end
