-
-
Notifications
You must be signed in to change notification settings - Fork 42
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
Add .allSettled()
method
#10
Comments
Before adding this, is it possible to simplify the types so that |
That would be nice, but I'm not sure if it's possible. TypeScript did receive variadic tuple support, but not sure if it solves all the same problems or whether it's as type safe. |
This one is a little more complicated but I think it should be possible. Precedent in p-all: sindresorhus/p-all#9 |
Reworking those typings for Iterables like |
Like https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/allSettled
The text was updated successfully, but these errors were encountered: