HttpsCallableStreamResult interface

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

Signature:

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

Properties

Property Type Description
data Promise<ResponseData>
stream AsyncIterable<StreamData>

HttpsCallableStreamResult.data

Signature:

readonly data: Promise<ResponseData>;

HttpsCallableStreamResult.stream

Signature:

readonly stream: AsyncIterable<StreamData>;