Re: Promises: final steps

On Thu, Sep 5, 2013 at 9:04 AM, Domenic Denicola <
domenic@domenicdenicola.com> wrote:

> From: Kevin Smith [zenparsing@gmail.com]
>
> > Indeed, for a non-GUI embedding like Node, they *must* be debuggable
> using just a console.
>
> This is an important point. A provisional idea that preserves our desire
> to not introduce new features to promises themselves, requiring user choice
> at authoring time, might be some kind of `console.unhandledRejections()`
> function which returns you a snapshot of the current unhandled rejections
> bucket.
>

IMO the promises library should not plan to push its undesired features
onto to console.  Unhandled rejections are a property of Promise, not
console.

jjb

Received on Thursday, 5 September 2013 16:20:12 UTC