Skip to content
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

generateStream chunks on front end from Firebase functions #1599

Open
handihow opened this issue Jan 13, 2025 · 0 comments
Open

generateStream chunks on front end from Firebase functions #1599

handihow opened this issue Jan 13, 2025 · 0 comments
Labels
docs Improvements or additions to documentation

Comments

@handihow
Copy link

Is your report related to a problem? Please describe.
Not clear how to consume the stream content in the front end application (Angular + Angular Material)

Is your report related to a suggestion/improvement? Please describe.
My app is built completely in the Google ecosystem using Firebase on the backend en Angular with AM on the front end. I would like to send the flows to Firebase functions and be able to also receive chunks on the front end. However, it is not clear how to do that. Currently I am writing updates to the Firebase Firestore database and keep a subscription to changes on the front end. This works fine, but only if I don't update on too many chunks. However this leads to additional reads and writes that seem unnecessary. Ideally I would like to receive chunks from the flow and then only save the final result.

Additional context
Add any other context or screenshots about the request here.

@handihow handihow added the docs Improvements or additions to documentation label Jan 13, 2025
@handihow handihow changed the title [Docs] generateStream chunks on front end from Firebase functions Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to documentation
Projects
Status: No status
Development

No branches or pull requests

1 participant