electron-reactive-event / API / Event
Event
Type Aliases
| Type Alias | Description |
|---|---|
| ErrorMessage | For a given event declaration, this is the error message type. It always extends string. |
| ErrorPayload | For a given event declaration, this is the error payload type. The error payload type is not guaranteed to exist, and is only recommended for conveying complex error states (that is, a robust string union type should be sufficient for most event declarations). |
| Request | This is the type that the developer will provide when firing events. It varies from the type that is sent via IPC. |
| Response | This is the type that the developer will return in their callbacks. It varies from the type that is sent via IPC. |
