One Logo Pool Ball
Combine · IOS API REFERENCE

AnySubscriber

struct · iOS 13.0+ · SDK 27.1

@frozen struct AnySubscriber<Input, Failure> where Failure : Error

A type-erasing subscriber. Use an ``AnySubscriber`` to wrap an existing subscriber whose details you don’t want to expose. You can also use ``AnySubscriber`` to create a custom subscriber by providing closures for the methods defined in ``Subscriber``, rather than implementing ``Subscriber`` directly.

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.

AnySubscriber.init(_:)

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

AnySubscriber.init(_:)

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

All Combine types →