StoreAction

public enum StoreAction<State> : Action

Actions performed for the store itself.

  • Called at the initialization step of the store to allow reducers and middleware an oppertunity to set up configurations Store actions may be dispatched at this stage, but other middleware and reducers might not be ready yet if they require any preparation themselves.

    Declaration

    Swift

    case prepare
  • Reset the entire state of the application.

    Declaration

    Swift

    case reset(state: State)