Hooks that run before and after the action is sent from one process to another. This is useful for doing things like ensuring the payload is serialized prior to sending the action, or making a change to the action after it's sent to the renderer process.
Represents a Redux action
that could be unknown or has a specific payload P
.
Object that represents Redux state.
Redux action with additional metadata to indicate if the action was already forwarded from the other process.
Represents a resource that can be cleaned up by calling the
dispose
method.