Skip to content

StreamChunk

Defined in: src/sandbox/types.ts:19

A typed chunk of streaming output from command or code execution.

Allows consumers to distinguish stdout from stderr during streaming, enabling richer UIs and more precise output handling.

readonly type: "streamChunk";

Defined in: src/sandbox/types.ts:20


readonly data: string;

Defined in: src/sandbox/types.ts:21


readonly streamType: StreamType;

Defined in: src/sandbox/types.ts:22