[haXe] Feature: timers in neko
Nicolas Cannasse
ncannasse at motion-twin.com
Fri Nov 3 18:57:05 CET 2006
> Hello list,
>
> Is there any way to implement timers in Neko? I've asked this
> question several months ago, but my that need was a misunderstanding
> of how to write neko servers. Now I need a timer to write a load
> testing agent, so I need to sleep a thread for some time - is there
> a way to accomplish that?
You can sleep using neko.Sys.sleep(seconds).
This is a bit different from a timer which is an event.
Nicolas
More information about the Haxe
mailing list