Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: unhanded promise rejection in it-byte-stream (#130)
If no consumer is listening for the next value, and the underlying stream aborts, an unhandled promise rejection can occur. Instead, add a `.catch` listener so the UPR doesn't occur, the rejection will be processed next time a consumer tries to read a value.
- Loading branch information