3 posts tagged with "es6"
Promise.allSettled returns a promise when all inputs are settled that is either fulfilled or rejected.
- Custom Spread Operator [...5]
The spread operator is denoted by 3 dots. Basically it takes an iterator and can do copy or expand or concat or merge.
Say we want many promises to execute in parallel and wait until all of them are resolved. Then Promise.all() is our candidate.
Know more from your inbox (Tuesday)
I promise there won't be any spamming!
Thanks for subscribing! Your subscription is confirmed.