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
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
batch | public | ScopeLockReaderBatchState | Reader batch that currently holds this waiter in its waiters set. | runtime/locks/scope-lock-entry-state.ts:11 |
grant | readonly | (grantedBatch) => void | Synchronous callback that resolves the reader's acquisition promise on grantedBatch. | runtime/locks/scope-lock-entry-state.ts:13 |