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

Merge from original repo #1

Merged
merged 2 commits into from
Nov 24, 2020
Merged

Merge from original repo #1

merged 2 commits into from
Nov 24, 2020

Conversation

nidhijaju
Copy link
Owner

Merge from original repo to update my forked repository.

This change fixes a few bugs in the example for readable byte streams.
One of the bugs in the existing example is that there is infinite
recursion for streams that have a total length of less than 1024.
Furthermore, another bug is that the return value of reader.read() is not
destructured.

In the new version, iteration is used instead of recursion, together with
async/await.
Add byte-streams-explainer.md.
@nidhijaju nidhijaju merged commit 5f36dda into nidhijaju:master Nov 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant