(self: TReentrantLock.TReentrantLock)
| 243 | |
| 244 | /** @internal */ |
| 245 | export const readLock = (self: TReentrantLock.TReentrantLock): Effect.Effect<number, never, Scope.Scope> => |
| 246 | Effect.acquireRelease( |
| 247 | core.commit(acquireRead(self)), |
| 248 | () => core.commit(releaseRead(self)) |
| 249 | ) |
| 250 | |
| 251 | /** @internal */ |
| 252 | export const readLocks = (self: TReentrantLock.TReentrantLock): STM.STM<number> => |
nothing calls this directly
no test coverage detected