local k=require(script.LockSession)local d=require(script.Parent.MigrationLayer)local N={}function N.acquireLockSession(d,N,y)local u=k.new(d,N,y)return u:lock()end function N.readWithoutLock(k,N,y)return d.read(k,N,y)end return N
local LockSession = require(script.LockSession)
local MigrationLayer = require(script.Parent.MigrationLayer)

local AccessLayer = {}

function AccessLayer.acquireLockSession(collection, key, migrations)
	local lockSession = LockSession.new(collection, key, migrations)

	return lockSession:lock()
end

function AccessLayer.readWithoutLock(collection, key, migrations)
	return MigrationLayer.read(collection, key, migrations)
end

return AccessLayer