W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2007

[whatwg] Progress Events "done" event

From: Garrett Smith <dhtmlkitchen@gmail.com>
Date: Sun, 26 Aug 2007 01:09:44 -0700
Message-ID: <c9e12660708260109t2c04d061g1fb3939e5082efde@mail.gmail.com>
On 8/26/07, Weston Ruter <westonruter at gmail.com> wrote:
> This proposal is similar to the callbacks that Prototype's Ajax.Request
> makes available. Instead of a "done" event, it provides the callback
> "onComplete": http://prototypejs.org/api/ajax/options


This is evidence of a real-world use case in a popular library.

(Prototype's callbacks do not appear to be event publishers.
Additionally, the w3c Events spec also provides callback-autonomy. One
callback's error won't cause failure in the notification system. It is
as if it is thrown in a new thread.)

Received on Sunday, 26 August 2007 01:09:44 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:57 UTC