Package: effect
Module: TReentrantLock
Acquires a read lock. The transaction will suspend until no other fiber is holding a write lock. Succeeds with the number of read locks held by this fiber.
Signature
declare const acquireRead: (self: TReentrantLock) => STM.STM<number>
Since v2.0.0