ref: 6042bb8adffe111049edfcb8b2eb1ad84814ed69
dir: /appl/cmd/lego/timers.m/
Timers : module{ PATH: con "/dis/lego/timers.dis"; Timer : adt { id : int; tick : chan of int; reset : fn (t : self ref Timer); cancel : fn (t : self ref Timer); destroy : fn (t : self ref Timer); }; init : fn (res : int); new : fn(ms, rep : int) : ref Timer; };