pauseButShouldBeResumed method

  1. @override
  2. @nonVirtual
void pauseButShouldBeResumed()
override

Pause the executor but mark it to be resumed when possible.

Implementation

@override
@nonVirtual
void pauseButShouldBeResumed() {
  info('Paused (but should be resumed) $this - $configuration');
  try {
    _stateMachine.pausedButShouldBeResumed();
  } catch (error) {
    addError('Error pausing but should be resumed $this: $error');
    _setState(_UndefinedState(this));
  }
}