Open History to see the last commit
Defined in: packages/ai/src/types.ts:847
Options for a single emitCustomEvent call, on both the tool-execution and
middleware contexts.
Properties#
batch?#
optional batch?: boolean;
Defined in: packages/ai/src/types.ts:856
Keep this event in the durability batch with later chunks.
CUSTOM events flush as soon as they are emitted, so a progress
indicator can render at emit time. Pass { batch: true } for a
high-volume stream that should share appends with later output.
process.stdout, process.stderr, sandbox.file, and
sandbox.file.diff already batch.