Killing `Promise.fulfill`

Tab Atkins Jr. jackalmage at
Mon Aug 19 15:34:53 PDT 2013

On Mon, Aug 19, 2013 at 11:13 AM, Domenic Denicola
<domenic at> wrote:
> Tab and I think the solution to this is to:
> - Kill `Promise.fulfill`, and of course also the `fulfill` option to the promise initializer.
> - Change `flatMap` to operate on resolved values, so that `Promise.resolve(foreverPending).flatMap(x => assert(x === foreverPending))` works.

Note that both of these are just name changes, not functionality
changes.  (Killing the old Promise.resolve() semantics is a
functionality change, but not these two.)


More information about the es-discuss mailing list