Type alias DispatchMiddleware<State, Dispatcher>

DispatchMiddleware<State, Dispatcher>: ((provider) => ((dispatch) => Dispatcher["dispatch"]))

Type Parameters

Type declaration

    • (provider): ((dispatch) => Dispatcher["dispatch"])
    • Middleware to apply to a MessageDispatcher.

      Parameters

      Returns ((dispatch) => Dispatcher["dispatch"])

        • (dispatch): Dispatcher["dispatch"]
        • Parameters

          • dispatch: Dispatcher["dispatch"]

          Returns Dispatcher["dispatch"]

Generated using TypeDoc