From: es-discuss-boun...@mozilla.org [mailto:es-discuss-boun...@mozilla.org] 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 es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss