onStart method
Callback when this executor is started. Returns true if successfully started, false otherwise.
Implementation
@override
Future<bool> onStart() async {
if (triggerExecutor == null) {
warning(
'$runtimeType - no TriggerExecutor defined - cannot start this task control executor.');
return false;
} else if (triggerExecutor?.state != ExecutorState.started &&
!triggerExecutor!.isStarting) {
triggerExecutor?.start();
}
return true;
}