On the input side of .then and .flatMap, no.
On the output side of both .then and .flatMap, depending on what you mean
by "branding", yes. If .flatMap's callback returns a non-promise the
promise it already returned gets rejected. If .then's callback returns a
non-promise, the promise it already returned accepts that non-promise.


On Thu, Aug 1, 2013 at 10:33 AM, Juan Ignacio Dopazo
<[email protected]>wrote:

> If then() deep flattens, flatMap() only flattens one level and promises
> assimilate thenables, is branding really necessary?
>
> Juan
>
> _______________________________________________
> es-discuss mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/es-discuss
>
>


-- 
    Cheers,
    --MarkM
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to