Skip to main content

Interface: RenderableStream

core/render.RenderableStream

A RenderableStream represents an async iterable that yields Renderables.

Properties

[asyncIterator]

[asyncIterator]: () => AsyncGenerator<Renderable | typeof AppendOnlyStream, Renderable | typeof AppendOnlyStream, unknown>

Type declaration

▸ (): AsyncGenerator<Renderable | typeof AppendOnlyStream, Renderable | typeof AppendOnlyStream, unknown>

Returns

AsyncGenerator<Renderable | typeof AppendOnlyStream, Renderable | typeof AppendOnlyStream, unknown>

Defined in

packages/ai-jsx/src/core/render.ts:46