Skip to content

Conversation

matil019
Copy link
Contributor

Nice to meet you!

According to the whatwg spec, ReadableStream#pipeTo should return a Promise<undefined>. This PR modifies the binding to return js.Promise[Unit] instead of a plain Unit.

According to the whatwg spec, it should return a Promise<undefined>.
Copy link
Member

@armanbilge armanbilge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch and thanks for the PR!

@armanbilge armanbilge merged commit 51a807c into scala-js:master Nov 30, 2021
@matil019 matil019 deleted the readablestream-pipeto-promise branch December 1, 2021 04:50
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.

2 participants