Back to Firebase Js Sdk

HttpsCallableStreamResult interface

docs-devsite/functions.httpscallablestreamresult.md

12.12.11.1 KB
Original Source

Project: /docs/reference/js/_project.yaml Book: /docs/reference/_book.yaml page_type: reference

{% comment %} DO NOT EDIT THIS FILE! This is generated by the JS SDK team, and any local changes will be overwritten. Changes should be made in the source code at https://github.com/firebase/firebase-js-sdk {% endcomment %}

HttpsCallableStreamResult interface

An HttpsCallableStreamResult wraps a single streaming result from a function call.

<b>Signature:</b>

typescript
export interface HttpsCallableStreamResult<ResponseData = unknown, StreamData = unknown> 

Properties

PropertyTypeDescription
dataPromise<ResponseData>
streamAsyncIterable<StreamData>

HttpsCallableStreamResult.data

<b>Signature:</b>

typescript
readonly data: Promise<ResponseData>;

HttpsCallableStreamResult.stream

<b>Signature:</b>

typescript
readonly stream: AsyncIterable<StreamData>;