electron-reactive-event / API / Main
Main
Functions for sending and receiving events in main.
Most of these functions are given by factories, to which you pass your registrar types. These registrar types are passed to the returned functions, so that the registrar types only need to be given once.
Namespaces
| Namespace | Description |
|---|---|
| Send | - |
Type Aliases
| Type Alias | Description |
|---|---|
| FactoryReturnType | The type returned by getMainIpc. |
| Response | The type received by main callbacks. |
Functions
| Function | Description |
|---|---|
| getMainIpc | Get the IPC functions for sending and receiving events to/from the renderer. The returned functions are typed to your registrar interfaces. |
