One Logo Pool Ball
Combine · IOS API REFERENCE

Empty

struct · iOS 13.0+ · SDK 27.1

struct Empty<Output, Failure> where Failure : Error

A publisher that never publishes any values, and optionally finishes immediately. You can create a ”Never” publisher — one which never sends values and never finishes or fails — with the initializer `Empty(completeImmediately: false)`.

Members (0)

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

Skipped declarations

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

Empty.init(completeImmediately:outputType:failureType:)

Passing a Swift type itself is not supported.

Empty.receive(subscriber:)

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

All Combine types →