IgnoreResultErrors
public struct IgnoreResultErrors<Upstream, Output, Err>: Publisher
where Upstream: Publisher, Err: Error, Upstream.Output == Result<Output, Err>,
Upstream.Failure == Never
This publisher can be used to ignore any errors of publishers which output values as
Result
but never fail otherwise. Every time a success
element is emitted, it is passed
through to the downstream subscriber, otherwise they are ignored. Also consider looking at
Publisher.ignoreResultErrors()
.
-
Declaration
Swift
public typealias Failure = Never