-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[cloud_functions] feature request for steam support #17076
Comments
Thanks for your response! Here is my improved code:
I can call a function with FirebaseFunctions.instance.httpsCallable in FlutterFire, but I can't stream it. I tried to implement streaming myself, but it doesn’t work. That’s why I’m asking if someone can help me build this new feature :)
Cloud function backend from https://github.com/firebase/genkit/blob/5033df07a99a05427da4f8c5c1009a2c0375e265/js/testapps/next/src/genkit/joke.ts#L28 |
Hi @victoire-hergan, currently, streaming is only supported on the web and not on native platforms (Android and iOS). I'll keep this issue open to track this feature request for FlutterFire. |
Hi,
I’m trying to stream data from a Firebase function (a genkit flow)
I’m attempting to convert from JavaScript to Dart (https://github.com/firebase/genkit/blob/main/js/genkit/src/client/client.ts), but it only works when the entire text has arrived.
Will you be adding streaming support?
My code; https://gist.github.com/victoire-hergan/04110c88bfbf7c41dc5ec12a9a436969
Thx
The text was updated successfully, but these errors were encountered: