MCPcopy Index your code
hub / github.com/TanStack/ai / replay

Method replay

packages/ai/src/activities/chat/stream/processor.ts:2235–2241  ·  view source on GitHub ↗

* Replay a recording through the processor

(
    recording: ChunkRecording,
    options?: StreamProcessorOptions,
  )

Source from the content-addressed store, hash-verified

2233 * Replay a recording through the processor
2234 */
2235 static async replay(
2236 recording: ChunkRecording,
2237 options?: StreamProcessorOptions,
2238 ): Promise<ProcessorResult> {
2239 const processor = new StreamProcessor(options)
2240 return processor.process(createReplayStream(recording))
2241 }
2242}
2243
2244/**

Callers 1

Calls 2

processMethod · 0.95
createReplayStreamFunction · 0.85

Tested by

no test coverage detected