LockHandle
LockHandle =
Disposable&object
Defined in: packages/core/src/helpers/async-rw-lock.ts:13
A handle returned by AsyncRwLock.acquireRead or AsyncRwLock.acquireWrite.
Call release manually, or use using to release at scope exit:
using h = await lock.acquireRead();// lock released automatically when h goes out of scopeRelease is idempotent — calling it after the handle is already disposed is a no-op.
Type Declaration
Section titled “Type Declaration”release
Section titled “release”release: () =>
void
Release the lock. Idempotent.
Returns
Section titled “Returns”void