pause method

Future<Success> pause(
  1. String isolateId
)

The pause RPC is used to interrupt a running isolate. The RPC enqueues the interrupt request and potentially returns before the isolate is paused.

When the isolate is paused an event will be sent on the Debug stream.

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

See Success.

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

Implementation

Future<Success> pause(String isolateId) =>
    _call('pause', {'isolateId': isolateId});