preventTimeout method

void preventTimeout()

After call the method, the instance behaves is as SimpleCancellationTokenSource

Implementation

void preventTimeout() {
  final timeoutHandler = _timeoutHandler;
  if (timeoutHandler == null) {
    throw FExceptionInvalidOperation("Cannot prevent inactive timeout.");
  }

  timeoutHandler.cancel();
  _timeoutHandler = null;
}