PassthroughSubject

E427881

PassthroughSubject is a Combine publisher in Swift that broadcasts values to its subscribers in real time without storing any history.

All labels observed (1)

Label Occurrences
PassthroughSubject canonical 1

How this entity was disambiguated

Statements (42)

Predicate Object
instanceOf Combine publisher
class
broadcastsValues true
conformsTo Publisher
definedIn Combine framework
linked to: Combine
deliveryTiming real time
differsFrom CurrentValueSubject by not storing a current value
documentationURL https://developer.apple.com/documentation/combine/passthroughsubject
frameworkType reactive programming
genericOver Failure
Output
introducedIn iOS 13
macOS 10.15
linked to: macOS Catalina

tvOS 13
linked to: tvOS

watchOS 6
linked to: watchOS
lifecycle completes when send(completion:) is called
stops emitting after completion or failure
method eraseToAnyPublisher()
send(_:)
send(completion:)
send(subscription:)
module Combine
ownershipModel reference type
pattern observer pattern
programmingLanguage Swift
property upstreamSubscriptions
relatedTo CurrentValueSubject
replaysPastValuesToNewSubscribers false
storesHistory false
subscriptionBehavior subscribers only receive values sent after subscription
supportsBackpressure true
supportsCompletion true
supportsFailure true
supportsMultipleSubscribers true
threading emits on calling thread unless modified by operators
typeParameterConstraint Failure : Error
useCase UI events publishing
bridging callbacks to Combine
imperative event stream
manual control of event emission
valueRetentionBehavior does not buffer values
drops values when there are no subscribers

How these facts were elicited

Referenced by (1)

Full triples — surface form annotated when it differs from this entity's canonical label.

Combine providesType PassthroughSubject