Skip to content

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 ​

PropertyModifierTypeDescriptionDefined in
batchreadonlyScopeLockReaderBatchState | undefinedAssociated reader batch state when kind === 'readers', or undefined for writers.runtime/locks/scope-lock-entry-state.ts:45
kindreadonly"writer" | "readers"Discriminator indicating whether this queued turn is an exclusive writer or shared reader batch.runtime/locks/scope-lock-entry-state.ts:43

Released under the MIT License.