onStop method
Callback when this executor is stopped. Returns true if successfully stopped, false otherwise.
Implementation
@override
@mustCallSuper
Future<bool> onStop() async {
timer?.cancel();
return true;
}
Callback when this executor is stopped. Returns true if successfully stopped, false otherwise.
@override
@mustCallSuper
Future<bool> onStop() async {
timer?.cancel();
return true;
}