interface CommandBatch

One HTTP round trip's worth of actions.

A dialect that packs every action into a single request emits one batch; a dialect that can only carry one action per request emits one batch per action. Both are the same code path for the orchestrator.

Properties

readonly
payload: string

Plaintext payload for this round trip, pre-encryption.

readonly
indices: readonly number[]

Indices into the caller's actions array, in the order the response returns them.

Usage

import { type CommandBatch } from "dialect/mod.ts";