StreamResponse.Result

class StreamResponse.Result : StreamResponse


The final result of the computation, marking the end of the stream.

Unlike Message, which represents intermediate data chunks, Result contains the complete computation output. If clients only care about the final result, they can process this type alone and ignore intermediate messages.

Example SSE format:

data: { "result": { "text": "foo bar" } }

Summary

Public constructors

Public properties

HttpsCallableResult

the final computed result received from the server.

Public constructors

Result

Result(result: HttpsCallableResult)

Public properties

result

val resultHttpsCallableResult

the final computed result received from the server.