W3C home > Mailing lists > Public > public-script-coord@w3.org > October to December 2013

Re: Promises and Decidability in Asynchronous Error Handling

From: Kevin Smith <zenparsing@gmail.com>
Date: Mon, 21 Oct 2013 16:16:14 -0400
Message-ID: <CA+mDt2xappn+AAnOYt5PgVYtJhxMFYApW9jbj3UAq5UZhKLJAQ@mail.gmail.com>
To: kg@luminance.org
Cc: es-discuss <es-discuss@mozilla.org>, "public-script-coord@w3.org" <public-script-coord@w3.org>
> Requiring early registration prevents the use of futures as value
> containers; i.e. kicking off an operation and storing the Future somewhere
> so anyone can use it at a later date.
>

One can always do that, provided that you register an error handler *before
your call stack is cleared*.

{ Kevin }
Received on Monday, 21 October 2013 20:16:41 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:18 UTC