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
Subscriberthat will receive validated values.See also
PublisherDeclaration
Parameters
subscriberThe downstream subscriber to attach.
CompactValidatePublisher Structure Reference