Publisher

public extension Publisher
  • Maps the Output of its upstream to Void and type erases its upstream to AnyPublisher.

    Declaration

    Swift

    func voidPublisher() -> AnyPublisher<Void, Failure>