function DataStoreStage.GetSubStore(u,Y)assert(type(Y)=="\115\116\114\105\110\103","\066\097\100 \110\097\109\101")if u._stores[Y]then return u._stores[Y]end if u._takenKeys[Y]then error(("\091\068\097\116\097\083\116\111\114\101\083\116\097\103\101\046\071\101\116\083\117\098\083\116\111\114\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(Y))end local d=DataStoreStage.new(Y,u)u._takenKeys[Y]=true u._maid:GiveTask(d)u._stores[Y]=d return d end

function DataStoreStage:GetSubStore(name)
	assert(type(name) == "string", "Bad name")

	if self._stores[name] then
		return self._stores[name]
	end

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

	local newStore = DataStoreStage.new(name, self)
	self._takenKeys[name] = true
	self._maid:GiveTask(newStore)

	self._stores[name] = newStore

	return newStore
end
