paint-brush
What's wrong with Promise.allSettled() and Promise.any() ❓by@vitaliy
2,059 reads
2,059 reads

What's wrong with Promise.allSettled() and Promise.any() ❓

by Vitaliy Potapov5mJuly 16th, 2019
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

The design of Promise.allSettled() and Promise.any() looks to me inconsistent with current Promise API. The new methods are quite different from the current Promise.prototype. The design is a library-land feature, not the core API method. The name of Promiseany is confusing, but I don’t think core API should have such a name. The proposal is on a very early stage, I’m concerned about the direction of the direction. Feel free to share your thoughts in comments below.

Company Mentioned

Mention Thumbnail
featured image - What's wrong with Promise.allSettled() and Promise.any() ❓
Vitaliy Potapov HackerNoon profile picture
Vitaliy Potapov

Vitaliy Potapov

@vitaliy

Developer at Quantori

About @vitaliy
LEARN MORE ABOUT @VITALIY'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Vitaliy Potapov HackerNoon profile picture
Vitaliy Potapov@vitaliy
Developer at Quantori

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Bitcoininsider
Intrepidgeeks
Learnrepo
In
Garker
Jpdebug
Dev
Wikibacklink
Fastly