Skip to content
Developer Preview

PendingCommandEntry

An entry, as a consumer sees it. Immutable snapshot of internal state.

Property Type Stability Presence Description
ack Readonly<Pick<TurnStartResult, "turnId" | "disposition">> optional
anchorAfterItemId string | null required The item the entry renders AFTER: the last item present in the client’s fold at submission time (null = before every item). Fixed at insertion — server events folding in afterwards MUST NOT relocate it (“Insertion point and ordering”). A snapshot join may re-anchor a kept queued entry; nothing else moves it.
commandId string required
displayText string optional
input I required
queuedOrder number optional Set at a snapshot join for a server-confirmed queued entry only.
submissionIndex number required
Source

clients/sdk-ts/src/pending/pending-command-set.ts:91

{
"kind": "Interface",
"canonicalPath": "PendingCommandEntry"
}