Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jeremenichelli/promise-combinators
Playground to explore how Promise combinators work
https://github.com/jeremenichelli/promise-combinators
Last synced: 23 days ago
JSON representation
Playground to explore how Promise combinators work
- Host: GitHub
- URL: https://github.com/jeremenichelli/promise-combinators
- Owner: jeremenichelli
- Created: 2019-07-06T14:43:10.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T04:38:43.000Z (almost 2 years ago)
- Last Synced: 2024-10-18T19:40:37.188Z (about 1 month ago)
- Language: JavaScript
- Homepage: https://promise-combinators.netlify.com/
- Size: 1.27 MB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Promise combinators
[promise-combinators.netlify.com](//promise-combinators.netlify.com/)
Playground to explore how Promise combinators work.
_Promise methods work. Promise.allSettled is polyfilled with promise.allsettled package by [Jordan Harband](//github.com/ljharb) and Promise.any with promise-any by [Andreas Streichardt](https://github.com/m0ppers)._
## About the project
This site was built using [Next.js](//nextjs.org/), [styled-jsx](//github.com/zeit/styled-jsx) and bad code from a 1x engineer, but hey it works!
Hosted by [Netlify](//netlify.com) cause I have 99 problems in my life but deployments ain't one.
## About the combinators
Initially `Promise` was released with `all` and `race`, but there's a proposal for two new folks, `allSettled` and `any`. I hope this little microsite helps you exploring and understanding them better.
_Read more about the new promise combinators [in this article](//css-tricks.com/a-peek-at-new-methods-coming-to-promises/)._
## Credits
- I first heard about the upcoming combinators by [this tweet by Stefan Judis](//twitter.com/stefanjudis/status/1140535050230030336).
- Heavily inspired by [Sarah Drasner's Array Explorer](//github.com/sdras/array-explorer), and [this post](https://v8.dev/features/promise-combinators) from the V8 team blog.
- Thanks [Mathias Bynens](//twitter.com/mathias) for the early feedback!