Shouldn't timers be specified?
bruant.d at gmail.com
Sun Jan 22 03:44:24 PST 2012
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   indicate an intention
to bring setTimeout to ECMAScript.
The basic idea would to be to make Q.delay  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.
More information about the es-discuss