Skip to main content

Interface: RenderableStream

core/core.RenderableStream

A RenderableStream represents an async iterable that yields Renderables.

Properties

[asyncIterator]

[asyncIterator]: () => AsyncIterator<Renderable | typeof AppendOnlyStream, Renderable | typeof AppendOnlyStream, undefined>

Type declaration

▸ (): AsyncIterator<Renderable | typeof AppendOnlyStream, Renderable | typeof AppendOnlyStream, undefined>

Returns

AsyncIterator<Renderable | typeof AppendOnlyStream, Renderable | typeof AppendOnlyStream, undefined>

Defined in

packages/ai-jsx/src/core/core.ts:64