本页还没有译文
本页 7 段还没译成Tiếng Việt,下面显示的是英文原文。EmitCustomEventOptions
还没翻译译自英文(tanstack.com)本页 7 段都还没译
Defined in: packages/ai/src/types.ts:845
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:854
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.
AI 翻译查看英文原文