This repository has been archived by the owner on Jun 26, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: allow stream methods to be async (#404)
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.
- Loading branch information
1 parent
311a587
commit cfcd6d7
Showing
1 changed file
with
53 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters