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

Extend Firebase SDK with new APIs to consume streaming callable function response #6602

Merged
merged 63 commits into from
Mar 10, 2025

Conversation

MustafaJadid2025
Copy link
Contributor

Extend Firebase SDK with new APIs to consume streaming callable function response.

  • Handling the server-sent event (SSE) parsing internally
  • Providing proper error handling and connection management
  • Maintaining memory efficiency for long-running streams

…ion response.

- Handling the server-sent event (SSE) parsing internally
- Providing proper error handling and connection management
- Maintaining memory efficiency for long-running streams
…ion response.

- Handling the server-sent event (SSE) parsing internally
- Providing proper error handling and connection management
- Maintaining memory efficiency for long-running streams
…m-functions-api

# Conflicts:
#	firebase-functions/src/androidTest/java/com/google/firebase/functions/StramTests.kt
@rlazo
Copy link
Collaborator

rlazo commented Feb 11, 2025

is this PR ready for review? please assign @emilypgoogle and myself as reviewers as soon as it's ready. Thanks

Copy link
Contributor Author

@MustafaJadid2025 MustafaJadid2025 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR is ready for review.

@rlazo rlazo requested review from emilypgoogle and rlazo February 12, 2025 15:07
@rlazo
Copy link
Collaborator

rlazo commented Feb 28, 2025

Please, regenerate the api.txt file

@MustafaJadid2025
Copy link
Contributor Author

Please, regenerate the api.txt file

Done

Copy link
Collaborator

@emilypgoogle emilypgoogle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aside from my excessive synchronization comments which are non-blocking, all of my concerns were addressed and this seems to add the feature in line with reactive stream behavior expectations. @rlazo should make sure his concerns are also addressed

@emilypgoogle emilypgoogle merged commit 7c03f49 into firebase:main Mar 10, 2025
26 of 27 checks passed
@MustafaJadid2025 MustafaJadid2025 deleted the stream-functions-api branch March 10, 2025 20:38
gubatron pushed a commit to gubatron/firebase-android-sdk that referenced this pull request Mar 24, 2025
…ion response (firebase#6602)

Extend Firebase SDK with new APIs to consume streaming callable function
response.

- Handling the server-sent event (SSE) parsing internally
- Providing proper error handling and connection management
- Maintaining memory efficiency for long-running streams

---------

Co-authored-by: Rodrigo Lazo <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants