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