Monthly Archives: November 2012

3 Interesting Facts About Dart Timers

I wrote a program to test dart’s timers: #!/home/jim/dart/dart-sdk/bin/dart –enable-checked-mode #import(“dart:isolate”); void zero(Timer timer) { print(“zero\n”); } class Timee { Timer timer; int id; Timee(id) { this.id = id; this.timer = new Timer(id, timeout); } void timeout(Timer timer) { print(“timeout … Continue reading

Posted in dart, programming | Tagged , , | Leave a comment