Skip to content

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

NamespaceDescription
Send-

Type Aliases

Type AliasDescription
FactoryReturnTypeThe type returned by getMainIpc.
ResponseThe type received by main callbacks.

Functions

FunctionDescription
getMainIpcGet the IPC functions for sending and receiving events to/from the renderer. The returned functions are typed to your registrar interfaces.