resume method

Future<void> resume()

Implementation

Future<void> resume() async {
  var completer = launchCompleter = Completer<void>();
  receivePort.listen(listener);
  isolate.resume(isolate.pauseCapability!);
  await completer.future;
  launchCompleter = null;
}