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
>
>

Thanks!

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.)

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

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:36 UTC