shutdownNow method

  1. @override
Future<void> shutdownNow()
override

Kill the spawned process immediately irrespective of weather the current inputs are processed or not.

Implementation

@override
Future<void> shutdownNow() async {
  // Exit-lock.
  var _ = await Future.wait(_processGroup.map((process) => process.shutdownNow()));

  // Notification.
  _processingIsComplete.complete();

  return;
}