OnPublisher
public class OnPublisher<P> where P : Publisher
Undocumented
-
Undocumented
Declaration
Swift
public func onSuccess(_ success: @escaping (P.Output) -> Void) -> OnPublisher<P>
-
Undocumented
Declaration
Swift
public func onFailure(_ failure: @escaping (P.Failure) -> Void) -> OnPublisher<P>
-
Undocumented
Declaration
Swift
public func onComplete(_ complete: @escaping (Result<P.Output, P.Failure>) -> Void) -> OnPublisher<P>
-
Undocumented
Declaration
Swift
public func sink() -> AnyCancellable