Enumerations
The following enumerations are available globally.
-
Represents an error for a dematerialized sequence
Consumers of publishers with a
See moreFailure
of this type can opt-in to force unwrapping the error using theassertNoDematerializationFailure()
operatorDeclaration
Swift
public enum DematerializationError<SourceError> : Error where SourceError : Error
extension DematerializationError: DematerializationErrorConvertible
extension DematerializationError: Equatable where SourceError: Equatable
-
A materialized representation of a
Publisher
s output.Upon a call to subscribe, a legal
Publisher
produces signals in strictly the following order:- Exactly one ‘subscription’ signal.
- Followed by zero or more ‘input’ signals.
- Terminated finally by a single ‘completion’ signal.
Declaration
Swift
@available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *) public enum Signal<Input, Failure> where Failure : Error
extension Signal: SignalConvertible
extension Signal: Equatable where Input: Equatable, Failure: Equatable