Result.Publisher
The type of a Combine publisher that publishes this instance’s result to each subscriber exactly once, or fails immediately if the result indicates failure.
Declaration
struct PublisherOverview
If the result is Swift/Result/success, then the publisher waits until it receives a request for at least one value, then sends the output to all subscribers and finishes normally. If the result is /Swift/Result/failure, then the publisher sends the failure immediately upon subscription. This latter behavior is a contrast with Just, which always publishes a single value.
Topics
Creating a Result Publisher
Inspecting Publisher Properties
Instance Methods
allSatisfy(_:)collect()contains(_:)contains(where:)count()first()ignoreOutput()last()map(_:)mapError(_:)max()max(by:)min()min(by:)reduce(_:_:)removeDuplicates()removeDuplicates(by:)replaceEmpty(with:)replaceError(with:)retry(_:)scan(_:_:)setFailureType(to:)tryAllSatisfy(_:)tryContains(where:)tryMap(_:)tryMax(by:)tryMin(by:)tryReduce(_:_:)tryRemoveDuplicates(by:)tryScan(_:_:)