File tree Expand file tree Collapse file tree 2 files changed +1
-10
lines changed Expand file tree Collapse file tree 2 files changed +1
-10
lines changed Original file line number Diff line number Diff line change 11---
2- ' @firebase/functions-types ' : minor
32' @firebase/functions ' : minor
3+ ' firebase ' : minor
44---
55
66Add ` .stream() ` api for callable functions for consuming streaming responses.
Original file line number Diff line number Diff line change @@ -22,21 +22,12 @@ export interface HttpsCallableResult {
2222 readonly data : any ;
2323}
2424
25- /**
26- * An HttpsCallableStreamResult wraps a single streaming result from a function call.
27- */
28- export interface HttpsCallableStreamResult {
29- readonly data : Promise < any > ;
30- readonly stream : AsyncIterable < any > ;
31- }
32-
3325/**
3426 * An HttpsCallable is a reference to a "callable" http trigger in
3527 * Google Cloud Functions.
3628 */
3729export interface HttpsCallable {
3830 ( data ?: { } | null ) : Promise < HttpsCallableResult > ;
39- stream ( data ?: { } | null ) : Promise < HttpsCallableStreamResult > ;
4031}
4132
4233/**
You can’t perform that action at this time.
0 commit comments