onResume method

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

Called by resume. Returns true if successfully resumed.

If false, the executor moves to ExecutorState.PausedButShouldBeResumed.

Implementation

@override
Future<bool> onResume() async {
  timer = Timer(configuration!.delay, () => onTrigger());
  return true;
}