Async Class

T.J. Crowder tj.crowder at farsightsoftware.com
Sun Feb 18 09:44:41 UTC 2018


On Sun, Feb 18, 2018 at 9:07 AM, Naveen Chawla <naveen.chwl at gmail.com>
wrote:
>
> There is no rule that says you must propagate every promise.

I never said there was. I said you must handle rejection, or propagate the
promise. Or, yes, you can ensure that the promise is never rejected, but
that's not what the code I was responding to did. It left the door wide
open to unhandled rejections.

-- T.J. Crowder
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20180218/37930c5e/attachment.html>


More information about the es-discuss mailing list