One Logo Pool Ball
Combine · IOS API REFERENCE

Result.Publisher

struct · iOS 13.0+ · SDK 27.1

struct 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. 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 <doc://com.apple.documentation/documentation/Combine/Just>, which always publishes a single value.

Members (0)

This type has no directly callable members in this snapshot. See the framework’s skipped declarations for unsupported APIs.

Skipped declarations

35 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

Result.Publisher.result

The iOS SDK compiler rejected this binding: no type named 'Result' in module 'Combine'

Result.Publisher.init(_:)

The iOS SDK compiler rejected this binding: module 'Combine' has no member named 'Result'

Result.Publisher.init(_:)

The iOS SDK compiler rejected this binding: module 'Combine' has no member named 'Result'

Result.Publisher.init(_:)

The iOS SDK compiler rejected this binding: module 'Combine' has no member named 'Result'

Result.Publisher.receive(subscriber:)

This declaration needs Swift generic type arguments. (no canonical witness for S)

Result.Publisher.contains(_:)

The iOS SDK compiler rejected this binding: no type named 'Result' in module 'Combine'

Result.Publisher.removeDuplicates()

The iOS SDK compiler rejected this binding: no type named 'Result' in module 'Combine'

Result.Publisher.min()

The containing type needs Swift generic type arguments. (no canonical witness for Success)

Result.Publisher.max()

The containing type needs Swift generic type arguments. (no canonical witness for Success)

Result.Publisher.allSatisfy(_:)

callback cannot propagate synchronous failure

Result.Publisher.tryAllSatisfy(_:)

The iOS SDK compiler rejected this binding: no type named 'Result' in module 'Combine'

Result.Publisher.collect()

The iOS SDK compiler rejected this binding: no type named 'Result' in module 'Combine'

Result.Publisher.min(by:)

callback cannot propagate synchronous failure

Result.Publisher.tryMin(by:)

The iOS SDK compiler rejected this binding: no type named 'Result' in module 'Combine'

Result.Publisher.max(by:)

callback cannot propagate synchronous failure

Result.Publisher.tryMax(by:)

The iOS SDK compiler rejected this binding: no type named 'Result' in module 'Combine'

Result.Publisher.contains(where:)

callback cannot propagate synchronous failure

Result.Publisher.tryContains(where:)

The iOS SDK compiler rejected this binding: no type named 'Result' in module 'Combine'

Result.Publisher.count()

The iOS SDK compiler rejected this binding: no type named 'Result' in module 'Combine'

Result.Publisher.first()

The iOS SDK compiler rejected this binding: no type named 'Result' in module 'Combine'

Result.Publisher.last()

The iOS SDK compiler rejected this binding: no type named 'Result' in module 'Combine'

Result.Publisher.ignoreOutput()

The iOS SDK compiler rejected this binding: no type named 'Result' in module 'Combine'

Result.Publisher.map(_:)

callback cannot propagate synchronous failure

Result.Publisher.tryMap(_:)

The iOS SDK compiler rejected this binding: no type named 'Result' in module 'Combine'

Result.Publisher.mapError(_:)

callback cannot propagate synchronous failure

Result.Publisher.reduce(_:_:)

callback cannot propagate synchronous failure

Result.Publisher.tryReduce(_:_:)

The iOS SDK compiler rejected this binding: no type named 'Result' in module 'Combine'

Result.Publisher.removeDuplicates(by:)

callback cannot propagate synchronous failure

Result.Publisher.tryRemoveDuplicates(by:)

The iOS SDK compiler rejected this binding: no type named 'Result' in module 'Combine'

Result.Publisher.replaceError(with:)

The iOS SDK compiler rejected this binding: no type named 'Result' in module 'Combine'

All Combine types →