Type Alias: EventReason
EventReason =
"error"|"shutdown"|"user"
Defined in: electron/events/eventTypes.ts:1481
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";