RunnableAction

public protocol RunnableAction : Action

An action that performs external logic outside of a reducer.

  • When the action is dispatched to a store, this method will be called to handle any logic by the action.

    Declaration

    Swift

    func run<T>(store: StoreProxy<T>) -> AnyPublisher<Action, Never>

    Parameters

    store

    The store that the action has been dispatched to.

    Return Value

    A cancellable object.