[whatwg] Progress Events "done" event

Garrett Smith dhtmlkitchen at gmail.com
Sun Aug 26 01:09:44 PDT 2007


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



More information about the whatwg mailing list