Package: effect
Module: TReentrantLock
Just a convenience method for applications that only need reentrant locks, without needing a distinction between readers / writers.
See TReentrantLock.writeLock.
Signature
declare const lock: (self: TReentrantLock) => Effect.Effect<number, never, Scope.Scope>
Since v2.0.0