Type Alias RedialAction<P>

RedialAction: AnyAction<P> & { meta: { redial: { forwarded: boolean } } }

Redux action with additional metadata to indicate if the action was already forwarded from the other process.

Type Parameters

  • P = any

    Payload of the forwarded action.

The metadata is assigned to the meta property of the dispatched action in middleware and forwarded to the opposing process (i.e. main process actions are sent to the renderer process and vice versa).