terminateExecution method

Future<void> terminateExecution()

Terminate current or next JavaScript execution. Will cancel the termination when the outer-most script execution ends.

Implementation

Future<void> terminateExecution() async {
  await _client.send('Runtime.terminateExecution');
}