You can also work with the concept of "promises" or "deferred" functions
known from Python and now implemented for node.js:

https://github.com/kriszyp/node-promise

There is already a bug for implementing this for qooxdoo:

http://bugzilla.qooxdoo.org/show_bug.cgi?id=3999

The idea is that you have to wrap your callbacks in a way that they return
"promise" objects which then can be fed into controlling functions. I find
it extremely mind-twisting but also very interesting - It solves a lot of
problems that you run into as a "synchronous" programmer when confronted
with async/event programming style. 

Cheers,
C. 
-- 
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Waiting-on-multiple-events-tp5762651p5762966.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to