Interface Store<T extends State>

  • All Known Implementing Classes:
    DuxStore

    public interface Store<T extends State>
    • Method Detail

      • subscribe

        void subscribe​(Consumer<T> fn)
      • dispatch

        void dispatch​(Action action)
      • dispatch

        void dispatch​(Thunk<T> thunk)
      • getState

        T getState()
      • replaceReducer

        void replaceReducer​(Reducer<T> newReducer)
      • goBack

        void goBack()
      • goForward

        void goForward()