Right: the barrier to setTimeout functionality is that ECMAscript does not
define a concurrency model.

If we can define a concurrency model, then we can build setTimeout.

Two things off the top of my head to consider:
 - timer granularity
 - forbidding eval-like syntax

OTOH, if we have an event-loop system with conditionals, we might not need
setTimeout because it would be trivial to build from primitives. But it
might be a handy interface if ES starts to go toward the "batteries
included" model.

Wes

-- 
Wesley W. Garland
Director, Product Development
PageMail, Inc.
+1 613 542 2787 x 102
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to