One Logo Pool Ball
Combine · IOS API REFERENCE

AsyncPublisher

struct · iOS 15.0+ · SDK 27.1

struct AsyncPublisher<P> where P : Publisher, P.Failure == Never

A publisher that exposes its elements as an asynchronous sequence. `AsyncPublisher` conforms to <doc://com.apple.documentation/documentation/Swift/AsyncSequence>, which allows callers to receive values with the `for`-`await`-`in` syntax, rather than attaching a ``Subscriber``. Use the ``Combine/Publisher/values-1dm9r`` property of the ``Combine/Publisher`` protocol to wrap an existing publisher with an instance of this type.

Members (0)

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

Skipped declarations

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

AsyncPublisher.init(_:)

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

All Combine types →