These concepts are driven around the concept of a main event loop. This concept is specific to browsers, and not to JavaScript. It would all depend how you embed the JavaScript engine, and if you want to structure it around an event loop with timers, etc.
-- dean On Tue, Jun 2, 2009 at 5:11 PM, Ned<[email protected]> wrote: > > As long as I can see there is no setInterval & setTimeout functions in > V8 because they are bound to "window" object in KHTML... > > My question is - have some of you guys written or does someone know is > there a code that could add such a behavior to V8. I really need this > behavior. > > Regards > Nedko > > ps I honestly can't imagine real javascript without setInterval & > setTimeout > > > --~--~---------~--~----~------------~-------~--~----~ v8-users mailing list [email protected] http://groups.google.com/group/v8-users -~----------~----~----~----~------~----~------~--~---
