Skip to content

Interface: ScopeLockQueueWaiter ​

Defined in: runtime/locks/scope-lock-entry-state.ts:9

Queued shared-read waiter entry inside a ScopeLockReaderBatchState.

Tracks the reader batch currently owning this waiter and the continuation callback invoked when the reader lease is granted on an active batch.

Properties ​

PropertyModifierTypeDescriptionDefined in
batchpublicScopeLockReaderBatchStateReader batch that currently holds this waiter in its waiters set.runtime/locks/scope-lock-entry-state.ts:11
grantreadonly(grantedBatch) => voidSynchronous callback that resolves the reader's acquisition promise on grantedBatch.runtime/locks/scope-lock-entry-state.ts:13

Released under the MIT License.