Skip to content
This repository has been archived by the owner on Jun 26, 2023. It is now read-only.

fix: allow stream methods to be async #404

Merged
merged 2 commits into from
May 17, 2023

Conversation

achingbrain
Copy link
Member

If a stream implementation needs to return a promise let them do so, this allows them to implement internal backpressure by slowing down reads from the source passed to the sink function.

If a stream implementation needs to return a promise let them do so,
this allows them to implement internal backpressure by slowing down
reads from the source passed to the sink function.
@achingbrain achingbrain merged commit cfcd6d7 into master May 17, 2023
@achingbrain achingbrain deleted the fix/allow-async-stream-methods branch May 17, 2023 11:25
github-actions bot pushed a commit that referenced this pull request May 17, 2023
@github-actions
Copy link

🎉 This PR is included in version @libp2p/interface-stream-muxer-v4.1.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

1 participant