Skip to content

CommandBatchResult

CommandBatchResult = { status: "applied"; } | { error: Error; status: "failed" | "unknown"; }

Defined in: packages/client/src/lib/command-processor/command-batch-result.ts:2

Outcome of one atomic command batch, independent of other queued commands.

{ status: "applied"; }

readonly status: "applied"

Every command and action completed successfully.


{ error: Error; status: "failed" | "unknown"; }

readonly error: Error

Original refusal or execution error, when available.

readonly status: "failed" | "unknown"

failed is a first-layout refusal; partial, skipped or disposed work is unknown.