GameWatchdogSchedule typedef

GameWatchdogSchedule = Object? Function(Duration delay, void fire())

Arms the http watchdog: returns a handle whose cancel disarms it. Tests inject a fake to fire the watchdog on demand; production posts a Timer.

Implementation

typedef GameWatchdogSchedule = Object? Function(
    Duration delay, void Function() fire);