onRestart method

  1. @override
Future<bool> onRestart()
override

Callback when this executor is restarted. Returns true if successfully restarted, false otherwise.

Implementation

@override
Future<bool> onRestart() async {
  for (var executor in executors) {
    executor.restart();
  }
  return true;
}