Skip to content

πŸ§™ Streaming client without async generator / iterator - #4424

Merged
Sheraff merged 3 commits into
feat/out-of-order-batch-responsefrom
feat/out-of-order-batch-no-async-gen
May 26, 2023
Merged

Sheraff merged 3 commits into
feat/out-of-order-batch-responsefrom
feat/out-of-order-batch-no-async-gen

Conversation

@Sheraff

@Sheraff Sheraff commented May 25, 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 should allow for better retro-compatibility (and potentially better performance, though this was never measured).

Without this PR, compatibility was late-2018 and up, with this PR, compatibility should be ~2017 and up (Safari 10.1, support for fetch).

βœ… 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 25, 2023 21:39
@vercel

vercel Bot commented May 25, 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 26, 2023 7:29am
og-image βœ… Ready (Inspect) Visit Preview πŸ’¬ Add feedback May 26, 2023 7:29am
www βœ… Ready (Inspect) Visit Preview πŸ’¬ Add feedback May 26, 2023 7:29am

@KATT KATT left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Well, it's not much more code.... :)

This branch was successfully deployed

4 active deployments
Preview – www β€” a9e4a585 Deployed May 26, 2023 by vercel[bot]
Preview – todomvc β€” a9e4a585 Deployed May 26, 2023 by vercel[bot]
Preview – og-image β€” a9e4a585 Deployed May 26, 2023 by vercel[bot]
Preview – next-prisma-starter β€” a9e4a585 Deployed May 26, 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.

2 participants