close method

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

Stop the runner.

If the runner has allocated resources, e.g., an isolate, it should be released. No further calls to run should be made after calling stop.

Implementation

@override
Future<void> close() async {
  worker.terminate();
}