A convenience type used to receive both the streaming callable function’s yielded messages and
its return value.
This can be used as the generic Response parameter to Callable to receive both the
yielded messages and final return value of the streaming callable function.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-15 UTC."],[],[],null,["# FirebaseFunctions Framework Reference\n\nStreamResponse\n==============\n\n @available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)\n public enum StreamResponse\u003cMessage: Decodable & Sendable, Result: Decodable & Sendable\u003e: Decodable,\n Sendable,\n StreamResponseProtocol\n\nA convenience type used to receive both the streaming callable function's yielded messages and\nits return value.\n\nThis can be used as the generic `Response` parameter to [Callable](../Structs/Callable.html) to receive both the\nyielded messages and final return value of the streaming callable function.\n- `\n ``\n ``\n `\n\n ### [message(_:)](#/s:17FirebaseFunctions14StreamResponseO7messageyACyxq_GxcAEmSeRzs8SendableRzSeR_sAFR_r0_lF)\n\n `\n ` \n The message yielded by the callable function. \n\n #### Declaration\n\n Swift \n\n case message(Message)\n\n- `\n ``\n ``\n `\n\n ### [result(_:)](#/s:17FirebaseFunctions14StreamResponseO6resultyACyxq_Gq_cAEmSeRzs8SendableRzSeR_sAFR_r0_lF)\n\n `\n ` \n The final result returned by the callable function. \n\n #### Declaration\n\n Swift \n\n case result(Result)\n\n- `\n ``\n ``\n `\n\n ### [init(from:)](#/s:Se4fromxs7Decoder_p_tKcfc)\n\n `\n ` \n\n #### Declaration\n\n Swift \n\n public init(from decoder: any Decoder) throws"]]