Publisher
extension Publisher
-
Undocumented
Declaration
Swift
public func result<T>(_ transform: @escaping (Self.Output) -> Result<T, Self.Failure>) -> AnyPublisher<T, Failure>
-
Undocumented
Declaration
Swift
public func check(error: Self.Failure, _ check: @escaping (Self.Output) -> Bool) -> AnyPublisher<Output, Failure>
-
Remove data publisher.
Declaration
Swift
public func asVoid() -> AnyPublisher<Void, Failure>
-
Undocumented
Declaration
Swift
public func onSuccess(_ callback: @escaping (Output) -> Void) -> OnPublisher<Self>
-
Undocumented
Declaration
Swift
public func onFailure(_ callback: @escaping (Failure) -> Void) -> OnPublisher<Self>
-
Undocumented
Declaration
Swift
public func onComplete(_ callback: @escaping (Result<Output, Failure>) -> Void) -> OnPublisher<Self>
-
Undocumented
Declaration
Swift
public func receiveOnForeground() -> AnyPublisher<Self.Output, Self.Failure>
-
Undocumented
Declaration
Swift
public func receiveOn(qos: DispatchQoS.QoSClass) -> AnyPublisher<Self.Output, Self.Failure>
-
Undocumented
Declaration
Swift
public func receiveOnBackground() -> AnyPublisher<Self.Output, Self.Failure>