TomTimerFactory typedef

TomTimerFactory = Timer Function(Duration delay, void callback())

Arms a timer. A parameter so a test can run the clock itself.

Implementation

typedef TomTimerFactory = Timer Function(
  Duration delay,
  void Function() callback,
);