Publisher

extension Publisher where Output == Action, Failure == Never

Available where Output == Action, Failure == Never

  • Subscribe to a publisher of actions, and send the results to an action dispatcher.

    Declaration

    Swift

    public func send(to actionDispatcher: ActionDispatcher, receivedCompletion: ActionSubscriber.ReceivedCompletion? = nil) -> AnyCancellable

    Parameters

    actionDispatcher

    The ActionDispatcher

    receivedCompletion

    An optional block called when the publisher completes.

    Return Value

    A cancellable to unsubscribe.