- monitor<RWLock>(lockBox: LockBox<RWLock>, lockConstructor: (new () => RWLock), locksPending?: Map<string, {
count: number;
}>): ResourceAcquire<Monitor<RWLock>>
-
Type Parameters
-
RWLock extends RWLockReader | RWLockWriter
Parameters
-
lockBox: LockBox<RWLock>
-
lockConstructor: (new () => RWLock)
-
- new (): RWLock
-
Returns RWLock
-
Optional
locksPending: Map<string, {
count: number;
}>
Returns ResourceAcquire<Monitor<RWLock>>