onExited property
EventStream<OnExitedEvent>
get
onExited
Fired each time a process is terminated, providing the type of exit. |processId|: The ID of the process that exited. |exitType|: The type of exit that occurred for the process - normal, abnormal, killed, crashed. Only available for renderer processes. |exitCode|: The exit code if the process exited abnormally. Only available for renderer processes.
Implementation
EventStream<OnExitedEvent> get onExited =>
$js.chrome.processes.onExited.asStream(($c) => (
int processId,
int exitType,
int exitCode,
) {
return $c(OnExitedEvent(
processId: processId,
exitType: exitType,
exitCode: exitCode,
));
}.toJS);