One Logo Pool Ball
Combine · IOS API REFERENCE

ConnectablePublisher

protocol · iOS 13.0+ · SDK 27.1

protocol ConnectablePublisher<Output, Failure> : Publisher

A publisher that provides an explicit means of connecting and canceling publication. Use a ``ConnectablePublisher`` when you need to perform additional configuration or setup prior to producing any elements. This publisher doesn’t produce any elements until you call its ``ConnectablePublisher/connect()`` method. Use ``Publisher/makeConnectable()`` to create a ``ConnectablePublisher`` from any publisher whose failure type is <doc://com.apple.documentation/documentation/Swift/Never>.

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.

ConnectablePublisher.autoconnect()

The iOS SDK compiler rejected this binding: member 'autoconnect' cannot be used on value of type 'any ConnectablePublisher'; consider using a generic constraint instead [#ExistentialMemberAccess]

All Combine types →