Skip to main content

Interface: RenderableStream

core/render.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/render.ts:37