abandon method

void abandon()

Cancels the call's work: stops every subprocess it started, with its children, and refuses new phases and processes.

Implementation

void abandon() {
  _abandoned = true;
  stop();
  for (final p in _processes.keys.toList()) {
    unawaited(killProcessTree(p));
  }
  _processes.clear();
}