MCPcopy Create free account
hub / github.com/Effect-TS/effect / TxReentrantLock.ts

File TxReentrantLock.ts

packages/effect/src/TxReentrantLock.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/**
2 * Coordinates shared access inside transactions with read and write locks.
3 *
4 * A `TxReentrantLock` lets many fibers hold read locks at the same time, or one

Callers

nothing calls this directly

Calls 4

acquireReadFunction · 0.85
releaseReadFunction · 0.85
acquireWriteFunction · 0.85
releaseWriteFunction · 0.85

Tested by

no test coverage detected