Result object returned from [GenerativeModel.generateContentStream()](https://firebase.google.com/docs/reference/js/ai.generativemodel#generativemodelgeneratecontentstream) call. Iterate over `stream` to get chunks as they come in and/or use the `response` promise to get the aggregated response when the stream is done.

**Signature:**

    export interface GenerateContentStreamResult 

## Properties

| Property | Type | Description |
|---|---|---|
| [response](https://firebase.google.com/docs/reference/js/ai.generatecontentstreamresult#generatecontentstreamresultresponse) | Promise\<[EnhancedGenerateContentResponse](https://firebase.google.com/docs/reference/js/ai.enhancedgeneratecontentresponse#enhancedgeneratecontentresponse_interface)\> |   |
| [stream](https://firebase.google.com/docs/reference/js/ai.generatecontentstreamresult#generatecontentstreamresultstream) | AsyncGenerator\<[EnhancedGenerateContentResponse](https://firebase.google.com/docs/reference/js/ai.enhancedgeneratecontentresponse#enhancedgeneratecontentresponse_interface)\> |   |

## GenerateContentStreamResult.response

**Signature:**

    response: Promise<EnhancedGenerateContentResponse>;

## GenerateContentStreamResult.stream

**Signature:**

    stream: AsyncGenerator<EnhancedGenerateContentResponse>;