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

fix: unhanded promise rejection in it-byte-stream #130

Merged
merged 1 commit into from
May 30, 2024

Commits on May 30, 2024

  1. fix: unhanded promise rejection in it-byte-stream

    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.
    achingbrain committed May 30, 2024
    Configuration menu
    Copy the full SHA
    7acb666 View commit details
    Browse the repository at this point in the history