Skip to content

electron-reactive-event / API / Event

Event

Type Aliases

Type AliasDescription
ErrorMessageFor a given event declaration, this is the error message type. It always extends string.
ErrorPayloadFor 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).
RequestThis is the type that the developer will provide when firing events. It varies from the type that is sent via IPC.
ResponseThis is the type that the developer will return in their callbacks. It varies from the type that is sent via IPC.