Core

  • All actions that want to be able to be dispatched to a store need to conform to this protocol Currently it is just a marker protocol with no requirements.

    Declaration

    Swift

    public protocol Action
  • Middleware is a structure that allows you to modify, filter out and dispatch more actions, before the action being handled reaches the store.

    Declaration

    Swift

    public struct Middleware<State>