From: es-discuss [mailto:[email protected]] On Behalf Of Gray Zhang
> Therefore, I’d like to ask whether we should ONLY use Promise as a > return-or-throw synonyms, or we should use it in a yes-or-no scenario You should only use the rejection channel of promises for exceptional situations, similar to what you would use synchronous exceptions for. http://www.w3.org/2001/tag/doc/promises-guide#rejections-should-be-exceptional _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

