Docs
CodeRabbit
Cloudflare
AG Grid
Netlify
Neon
WorkOS
Clerk
Convex
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
CodeRabbit
Cloudflare
AG Grid
Netlify
Neon
WorkOS
Clerk
Convex
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
Class References
Function References
Interface References
Type Alias References
Variable References
Interface References

StreamProcessorOptions

Interface: StreamProcessorOptions

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

Options for StreamProcessor

Properties

chunkStrategy?

ts
optional chunkStrategy: ChunkStrategy;

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


events?

ts
optional events: StreamProcessorEvents;

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

Event-driven handlers


initialMessages?

ts
optional initialMessages: UIMessage[];

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

Initial messages to populate the processor


jsonParser?

ts
optional jsonParser: object;

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

parse()

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

string

Returns

any


recording?

ts
optional recording: boolean;

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

Enable recording for replay testing