restart property
What a missed heartbeat does. Exits 70 by default -- EX_SOFTWARE, so a supervisor with restart-on-failure starts the app again.
Implementation
static void Function(String reason) restart = _exitForSupervisor;
What a missed heartbeat does. Exits 70 by default -- EX_SOFTWARE, so a supervisor with restart-on-failure starts the app again.
static void Function(String reason) restart = _exitForSupervisor;