CompactValidatePublisher
public struct CompactValidatePublisher<Upstream> : Publisher where Upstream : Publisher
CompactValidatePublisher
A Combine
operator that validates upstream output and sends valid non-nil objects downstream.
-
The output type of this publisher.
Declaration
Swift
public typealias Output = Upstream.Output
-
The failure type of this publisher.
Declaration
Swift
public typealias Failure = Upstream.Failure
-
Attaches a downstreaam
Subscriber
that will receive validated values.See also
Publisher
Declaration
Parameters
subscriber
The downstream subscriber to attach.