Preparing search index...
The search index is not available
Genkit JS API reference
Genkit JS API reference
genkit
/
GenerateStreamResponse
Interface GenerateStreamResponse<O>
interface
GenerateStreamResponse
<
O
extends
ZodTypeAny
=
ZodTypeAny
>
{
get
response
()
:
Promise
<
GenerateResponse
<
O
>
>
;
get
stream
()
:
AsyncIterable
<
GenerateResponseChunk
<
unknown
>
>
;
}
Type Parameters
O
extends
ZodTypeAny
=
ZodTypeAny
Index
Accessors
response
stream
Accessors
response
get
response
()
:
Promise
<
GenerateResponse
<
O
>
>
Returns
Promise
<
GenerateResponse
<
O
>
>
stream
get
stream
()
:
AsyncIterable
<
GenerateResponseChunk
<
unknown
>
>
Returns
AsyncIterable
<
GenerateResponseChunk
<
unknown
>
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Accessors
response
stream
Genkit JS API reference
Loading...