Skip to content

πŸ§™ Streaming server without async generator / iterator - #4433

Merged
Sheraff merged 5 commits into
feat/out-of-order-batch-responsefrom
feat/out-of-order-batch-no-server-generators
May 27, 2023
Merged

Sheraff merged 5 commits into
feat/out-of-order-batch-responsefrom
feat/out-of-order-batch-no-server-generators

Conversation

@Sheraff

@Sheraff Sheraff commented May 26, 2023 •

Copy link
Copy Markdown
Contributor

Relates to #4347

🎯 Changes

Replace usage of AsyncGenerators and AsyncIterators on the client w/ regular async and callbacks. This allows us to not break the contract of exposed interface (preserve exported function signatures).

Without this PR, merging the streaming feature will be a breaking change. Cf. #4347 (comment), resolveHTTPResponse is publicly exported to allow for community adapters.

βœ… Checklist

  • I have followed the steps listed in the Contributing guide.
  • If necessary, I have added documentation related to the changes made.
  • I have added or updated the tests related to the changes made.

@Sheraff
Sheraff requested a review from a team as a code owner May 26, 2023 21:52
@vercel

vercel Bot commented May 26, 2023 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Comments Updated (UTC)
next-prisma-starter βœ… Ready (Inspect) Visit Preview πŸ’¬ Add feedback May 27, 2023 4:37pm
og-image βœ… Ready (Inspect) Visit Preview πŸ’¬ Add feedback May 27, 2023 4:37pm
www βœ… Ready (Inspect) Visit Preview πŸ’¬ Add feedback May 27, 2023 4:37pm

@Sheraff Sheraff changed the title πŸ§™ Remove AsyncGenerator / AsyncIterator from server-side πŸ§™ Streaming server without async generator / iterator May 26, 2023

This branch was successfully deployed

4 active deployments
Preview – www β€” c87977ad Deployed May 27, 2023 by vercel[bot]
Preview – todomvc β€” c87977ad Deployed May 27, 2023 by vercel[bot]
Preview – og-image β€” c87977ad Deployed May 27, 2023 by vercel[bot]
Preview – next-prisma-starter β€” c87977ad Deployed May 27, 2023 by vercel[bot]
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant