terminate method

Future<bool> terminate(
  1. int processId
)

Terminates the specified renderer process. Equivalent to visiting about:crash, but without changing the tab's URL. |processId|: The ID of the process to be terminated.

Implementation

Future<bool> terminate(int processId) async {
  var $res =
      await promiseToFuture<bool>($js.chrome.processes.terminate(processId));
  return $res;
}