Function Window.setTimer

set timer for destination widget - destination.onTimer() will be called after interval expiration; returns timer id

ulong setTimer(
  Widget destination,
  long intervalMillis
);