Le 22/01/2012 06:36, Brandon Benvie a écrit : > For reference, here's the start of an es-discuss thread on the topic > from March > 2011: https://mail.mozilla.org/pipermail/es-discuss/2011-March/013129.html Indeed. Two notable answers by Mark Miller [1] [2] indicate an intention to bring setTimeout to ECMAScript. The basic idea would to be to make Q.delay [3] a native construct of the language (and specify setTimeout and setInterval as implementations based on Q.delay (with clamping where necessary for compat reasons)). All this work would come along the work on concurrency which would bring the event loop in ECMAScript.
David [1] https://mail.mozilla.org/pipermail/es-discuss/2011-March/013136.html [2] https://mail.mozilla.org/pipermail/es-discuss/2011-March/013213.html [3] http://wiki.ecmascript.org/doku.php?id=strawman:concurrency#q.delay _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

