getIsolate method

  1. @override
Future<Isolate> getIsolate(
  1. String isolateId
)
override

The getIsolate RPC is used to lookup an Isolate object by its id.

If isolateId refers to an isolate which has exited, then the Collected Sentinel is returned.

See Isolate.

This method will throw a SentinelException in the case a Sentinel is returned.

Implementation

@override
Future<Isolate> getIsolate(String isolateId) =>
    _call('getIsolate', {'isolateId': isolateId});