electron-reactive-event / API / Callback
Callback
Types for callback functions, their arguments, and their return values.
Namespaces
| Namespace | Description |
|---|---|
| Argument | Arguments for callback functions provided to electron-reactive-event. |
| RegisterFunction | Functions that are responsible for registering callbacks. |
| ReturnType | The values used to construct a "!ReturnType:type". |
Type Aliases
| Type Alias | Description |
|---|---|
| AwaitedReturnType | - |
| Callback | A function that is given to electron-reactive-event via one of the register functions or hooks. |
| EventRecord | A record of callbacks, such that the keys are Channels, and the values are callbacks for event declarations given by their respective keys |
| Main | MainCallbacks live under main, i.e., they receive renderer events. |
| Renderer | RendererCallbacks live under the renderer, i.e., they receive main events. |
| ReturnType | This is the type that a Callback function must return. |
