Skip to main content

Interface: RenderableStream

core/render.RenderableStream

A RenderableStream represents an async iterable that yields Renderables.

Properties

[asyncIterator]

[asyncIterator]: () => AsyncGenerator<Node | AppendOnlyStreamValue, Node | AppendOnlyStreamValue, unknown>

Type declaration

▸ (): AsyncGenerator<Node | AppendOnlyStreamValue, Node | AppendOnlyStreamValue, unknown>

Returns

AsyncGenerator<Node | AppendOnlyStreamValue, Node | AppendOnlyStreamValue, unknown>

Defined in

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