resumeIsolate method

Future<void> resumeIsolate(
  1. IsolateRef isolateRef
)

Resumes the isolate by calling DdsExtension.readyToResume.

CAUTION: This should only be used for a tool-initiated resume, not a user- initiated resume. See: https://github.com/dart-lang/sdk/commit/5536951738ba599d96e075b7140e52b28e233

Implementation

Future<void> resumeIsolate(IsolateRef isolateRef) async {
  if (isolateRef.id == null || _service == null) return;
  final isolateId = isolateRef.id!;
  try {
    await _readyToResume(isolateId);
  } catch (error) {
    _log.warning(error);
  }
}