MCPcopy Index your code
hub / github.com/Effect-TS/effect / acquireRead

Function acquireRead

packages/effect/src/internal/stm/tReentrantLock.ts:184–184  ·  view source on GitHub ↗
(self: TReentrantLock.TReentrantLock)

Source from the content-addressed store, hash-verified

182
183/** @internal */
184export const acquireRead = (self: TReentrantLock.TReentrantLock): STM.STM<number> => adjustRead(self, 1)
185
186/** @internal */
187export const acquireWrite = (self: TReentrantLock.TReentrantLock): STM.STM<number> =>

Callers 2

readLockFunction · 0.85
tReentrantLock.tsFile · 0.85

Calls 1

adjustReadFunction · 0.85

Tested by

no test coverage detected