StreamResponse

abstract class StreamResponse(source)

An element of a streamed call's response, as the Android SDK's com.google.firebase.functions.StreamResponse: a Message for every chunk the function sends while it runs, then one Result with its return value. Plain common code: on Android and the JVM it is a header stub for the SDK's own class. Common code receives them from streamAsFlow.

Inheritors

Types

Link copied to clipboard

A chunk the function sent while running (response.sendChunk(...)), as the message's data.

Link copied to clipboard

The function's return value, as the result's data: the last element of the stream.