CombinedMiddleware

public struct CombinedMiddleware<State, A, B> : Middleware where State == A.State, A : Middleware, B : Middleware, A.State == B.State

Combines two middleware together.

  • Unimplemented. It simply calls store.next(_:).

    Declaration

    Swift

    public func run(store: StoreProxy<State>, action: Action)
  • Apply the middleware to a store proxy.

    Declaration

    Swift

    public func compile(store: StoreProxy<State>) -> SendAction

    Parameters

    store

    The store proxy.

    Return Value

    A SendAction function that performs the middleware for the provided store proxy.