Interface: ScopeLockQueuedTurn
Defined in: runtime/locks/scope-lock-entry-state.ts:41
Ordered queued turn descriptor in ScopeLockEntryState.queuedTurns.
Represents either a pending exclusive writer turn or a pending shared reader-batch turn awaiting execution in ScopeLockEntryState.queue.
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
batch | readonly | ScopeLockReaderBatchState | undefined | Associated reader batch state when kind === 'readers', or undefined for writers. | runtime/locks/scope-lock-entry-state.ts:45 |
kind | readonly | "writer" | "readers" | Discriminator indicating whether this queued turn is an exclusive writer or shared reader batch. | runtime/locks/scope-lock-entry-state.ts:43 |