One Logo Pool Ball
Combine · IOS API REFERENCE

Optional.Publisher

struct · iOS 13.0+ · SDK 27.1

struct Publisher

The type of a Combine publisher that publishes the value of a Swift optional instance to each subscriber exactly once, if the instance has any value at all. In contrast with the <doc://com.apple.documentation/documentation/Combine/Just> publisher, which always produces a single value, this publisher might not send any values and instead finish normally, if ``output`` is `nil`.

Members (0)

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

Skipped declarations

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

Optional.Publisher.output

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

Optional.Publisher.init(_:)

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

Optional.Publisher.receive(subscriber:)

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

Optional.Publisher.contains(_:)

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

Optional.Publisher.removeDuplicates()

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

Optional.Publisher.min()

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

Optional.Publisher.max()

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

Optional.Publisher.allSatisfy(_:)

callback cannot propagate synchronous failure

Optional.Publisher.collect()

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

Optional.Publisher.compactMap(_:)

callback cannot propagate synchronous failure

Optional.Publisher.min(by:)

callback cannot propagate synchronous failure

Optional.Publisher.max(by:)

callback cannot propagate synchronous failure

Optional.Publisher.contains(where:)

callback cannot propagate synchronous failure

Optional.Publisher.count()

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

Optional.Publisher.dropFirst(_:)

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

Optional.Publisher.drop(while:)

callback cannot propagate synchronous failure

Optional.Publisher.first()

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

Optional.Publisher.first(where:)

callback cannot propagate synchronous failure

Optional.Publisher.last()

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

Optional.Publisher.last(where:)

callback cannot propagate synchronous failure

Optional.Publisher.filter(_:)

callback cannot propagate synchronous failure

Optional.Publisher.ignoreOutput()

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

Optional.Publisher.map(_:)

callback cannot propagate synchronous failure

Optional.Publisher.output(at:)

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

Optional.Publisher.output(in:)

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

Optional.Publisher.prefix(_:)

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

Optional.Publisher.prefix(while:)

callback cannot propagate synchronous failure

Optional.Publisher.reduce(_:_:)

callback cannot propagate synchronous failure

Optional.Publisher.removeDuplicates(by:)

callback cannot propagate synchronous failure

Optional.Publisher.replaceError(with:)

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

All Combine types →