[3rdLC Comment API] Callbacks -> futures

I only looked briefly through this draft but you are using the wrong
callback syntax. The whole handleEvent() business is a thing of the
past.

Furthermore, rather than callbacks it seems much better to use futures
here: http://dom.spec.whatwg.org/#futures This is exactly the kind of
thing where you want to use futures.


How far are implementations along? It seems a lot of this API could
use quite a bit of polishing to make it more developer friendly.


--
http://annevankesteren.nl/

Received on Thursday, 11 April 2013 14:49:13 UTC