MCPcopy Index your code
hub / github.com/simstudioai/sim / resolveStreamedContent

Function resolveStreamedContent

apps/sim/lib/workflows/streaming/streaming.ts:90–96  ·  view source on GitHub ↗
(state: StreamingState)

Source from the content-addressed store, hash-verified

88}
89
90function resolveStreamedContent(state: StreamingState): Map<string, string> {
91 const result = new Map<string, string>()
92 for (const [blockId, chunks] of state.streamedChunks) {
93 result.set(blockId, chunks.join(''))
94 }
95 return result
96}
97
98type OutputExtractionContext = Pick<
99 StreamingResponseOptions,

Callers 1

startFunction · 0.85

Calls 2

joinMethod · 0.80
setMethod · 0.65

Tested by

no test coverage detected