Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/tools / / StreamingAggregator

Interface: StreamingAggregator

Defined in: packages/tools/src/streaming/channel.ts:62

Aggregated chunks the executor reads after the tool returns. The chunks array is the source of truth for the buffer-becomes-output discipline; the executor passes it to toResultEnvelope({ chunks }).

Stable

Properties

PropertyModifierTypeDefined in
chunkCountreadonlynumberpackages/tools/src/streaming/channel.ts:64
chunksreadonlyreadonly ContentChunk[]packages/tools/src/streaming/channel.ts:63
progressEventCountreadonlynumberpackages/tools/src/streaming/channel.ts:65
totalBytesreadonlynumberpackages/tools/src/streaming/channel.ts:66