Dart Documentationchrome.processesOnExitedEvent

OnExitedEvent class

Fired each time a process is terminated, providing the type of exit.

class OnExitedEvent {
 /**
  * The ID of the process that exited.
  */
 final int processId;

 /**
  * The type of exit that occurred for the process - normal, abnormal, killed,
  * crashed. Only available for renderer processes.
  */
 final int exitType;

 /**
  * The exit code if the process exited abnormally. Only available for renderer
  * processes.
  */
 final int exitCode;

 OnExitedEvent(this.processId, this.exitType, this.exitCode);
}

Constructors

new OnExitedEvent(int processId, int exitType, int exitCode) #

Creates a new Object instance.

Object instances have no meaningful state, and are only useful through their identity. An Object instance is equal to itself only.

docs inherited from Object
OnExitedEvent(this.processId, this.exitType, this.exitCode);

Properties

final int exitCode #

The exit code if the process exited abnormally. Only available for renderer processes.

final int exitCode

final int exitType #

The type of exit that occurred for the process - normal, abnormal, killed, crashed. Only available for renderer processes.

final int exitType

final int processId #

The ID of the process that exited.

final int processId