PassthroughSubject
class · iOS 13.0+ · SDK 27.1
final class PassthroughSubject<Output, Failure> where Failure : ErrorA subject that broadcasts elements to downstream subscribers. As a concrete implementation of ``Subject``, the ``PassthroughSubject`` provides a convenient way to adapt existing imperative code to the Combine model. Unlike ``CurrentValueSubject``, a ``PassthroughSubject`` doesn’t have an initial value or a buffer of the most recently-published element. A ``PassthroughSubject`` drops values if there are no subscribers, or its current demand is zero.
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.
PassthroughSubject.receive(subscriber:)
This declaration needs Swift generic type arguments. (no canonical witness for S)