Type Alias: EventReason
type EventReason =
| "error"
| "shutdown"
| "user";
Defined in: electron/events/eventTypes.ts:120
Reason for an event occurrence.
Remarks
Used to indicate the cause or initiator of an event, such as user action or system error.
Example
const reason: EventReason = "user";