From: [email protected] [mailto:[email protected]] On
Behalf Of Kevin Smith
> To this end, in my own promise implementation I use a form of "fail soon",
> like so:
It sounds like this does not support handling rejections in an event loop turn
after they are generated, e.g. it would disallow
```js
var rejected = Promise.reject(new Error("bad news!"));
var fulfilled = Promise.resolve(5);
fulfilled.then(() => {
rejected.catch(err => console.error(err));
});
```
Is that correct?
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss