Docs
Code Rabbit
Cloudflare
AG Grid
Netlify
Neon
WorkOS
Clerk
Convex
Electric
Sentry
Prisma
Strapi
Unkey
UI.dev
Code Rabbit
Cloudflare
AG Grid
Netlify
Neon
WorkOS
Clerk
Convex
Electric
Sentry
Prisma
Strapi
Unkey
UI.dev
Class References
Function References
Interface References
Type Alias References
Variable References
Interface References

StreamProcessorOptions

Interface: StreamProcessorOptions

Defined in: activities/chat/stream/processor.ts:99

Options for StreamProcessor

Properties

chunkStrategy?

ts
optional chunkStrategy: ChunkStrategy;
optional chunkStrategy: ChunkStrategy;

Defined in: activities/chat/stream/processor.ts:100


events?

ts
optional events: StreamProcessorEvents;
optional events: StreamProcessorEvents;

Defined in: activities/chat/stream/processor.ts:102

Event-driven handlers


initialMessages?

ts
optional initialMessages: UIMessage[];
optional initialMessages: UIMessage[];

Defined in: activities/chat/stream/processor.ts:109

Initial messages to populate the processor


jsonParser?

ts
optional jsonParser: object;
optional jsonParser: object;

Defined in: activities/chat/stream/processor.ts:103

parse()

ts
parse: (jsonString) => any;
parse: (jsonString) => any;
Parameters
jsonString

string

Returns

any


recording?

ts
optional recording: boolean;
optional recording: boolean;

Defined in: activities/chat/stream/processor.ts:107

Enable recording for replay testing