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 NERFINISHED
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 NERFINISHED
macOS 10.15 NERFINISHED
tvOS 13 NERFINISHED
watchOS 6 NERFINISHED
lifecycle completes when send(completion:) is called
stops emitting after completion or failure
method eraseToAnyPublisher()
send(_:)
send(completion:)
send(subscription:)
module Combine NERFINISHED
ownershipModel reference type
pattern observer pattern
programmingLanguage Swift NERFINISHED
property upstreamSubscriptions
relatedTo CurrentValueSubject NERFINISHED
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