Skip to content

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

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

Merged
merged 63 commits into from
Mar 10, 2025
Merged

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

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
MustafaJadid2025 and others added 3 commits December 26, 2024 11:50
…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
- Embedded the distinction between `message` and `result` in test cases.
@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
tejasd pushed a commit that referenced this pull request Apr 1, 2025
…ion response (#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 <rlazo@users.noreply.github.com>
@firebase firebase locked and limited conversation to collaborators Apr 10, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants