Enumerations
The following enumerations are available globally.
-
Represents an error for a dematerialized sequence
Consumers of publishers with a
See moreFailureof this type can opt-in to force unwrapping the error using theassertNoDematerializationFailure()operatorDeclaration
Swift
public enum DematerializationError<SourceError> : Error where SourceError : Errorextension DematerializationError: DematerializationErrorConvertibleextension DematerializationError: Equatable where SourceError: Equatable
-
A materialized representation of a
Publishers output.Upon a call to subscribe, a legal
Publisherproduces 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 : Errorextension Signal: SignalConvertibleextension Signal: Equatable where Input: Equatable, Failure: Equatable
View on GitHub
Enumerations Reference