-
Notifications
You must be signed in to change notification settings - Fork 440
Replace Promises with union types in callbacks #872
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm worried about this breaking callbacks that only return PromiseLike instead of Promise. Can you explain why this was PromiseLike originally? Was that incorrect? Will these be good breaks?
No, it turns out that PromiseLike must be used as general thenables should also work. |
Some problems, will reopen soon |
Never mind, my confusion 👀 |
The diff looks OK now, just need to get the build passing |
Replaced by #1034 |
A cleanup before updating Streams types.