Docs
CodeRabbit
Cloudflare
Railway
SerpAPI
AG Grid
OpenRouter
WorkOS
Clerk
Netlify
Unkey
Sentry
Electric
Prisma
CodeRabbit
Cloudflare
Railway
SerpAPI
AG Grid
OpenRouter
WorkOS
Clerk
Netlify
Unkey
Sentry
Electric
Prisma
Class References
Function References
Interface References
Type Alias References
Variable References
Function References

createReplayStream

Function: createReplayStream()

ts
function createReplayStream(recording): AsyncIterable<AGUIEvent>;
function createReplayStream(recording): AsyncIterable<AGUIEvent>;

Defined in: packages/ai/src/activities/chat/stream/processor.ts:2032

Create an async iterable from a recording

Parameters

recording

ChunkRecording

Returns

AsyncIterable<AGUIEvent>