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
This entity first appeared as the object of triple T4275581 — resolving that mention is where its identity was fixed. The disambiguator weighed these candidate entities and picked the highlighted one (or “None”, minting a new entity). This is how homonymy is resolved: the same surface form can point to different entities.
NED1
Entity disambiguation (via context triple)
gpt-5-mini-2025-08-07
Target entity: PassthroughSubject Context triple: [Combine, providesType, PassthroughSubject]
-
A.
RxJS
RxJS is a JavaScript library for reactive programming that uses observables to handle asynchronous data streams and event-based programs.
-
B.
TransformStream
TransformStream is a web streams API interface that enables transforming data chunks passing through a readable–writable stream pair, such as for compression, encryption, or format conversion in streaming workflows.
-
C.
ReadableStream
ReadableStream is a web platform interface representing a source of streaming data that can be read incrementally, commonly used for handling network responses and other asynchronous data flows in JavaScript.
-
D.
TransformStreamDefaultController
TransformStreamDefaultController is a web streams API interface that lets transform stream implementations enqueue, error, or terminate chunks during a streaming transformation.
-
E.
accepts PASMO
PASMO is a rechargeable contactless smart card widely used for public transportation and electronic payments across Japan, particularly in the Tokyo metropolitan area.
- F. None of above. chosen
- G. Unsure - the case is ambiguous/there is not enough information to decide.
NED2
Entity disambiguation (via description)
gpt-5-mini-2025-08-07
Target entity: PassthroughSubject Target entity description: PassthroughSubject is a Combine publisher in Swift that broadcasts values to its subscribers in real time without storing any history.
-
A.
RxJS
RxJS is a JavaScript library for reactive programming that uses observables to handle asynchronous data streams and event-based programs.
-
B.
TransformStream
TransformStream is a web streams API interface that enables transforming data chunks passing through a readable–writable stream pair, such as for compression, encryption, or format conversion in streaming workflows.
-
C.
ReadableStream
ReadableStream is a web platform interface representing a source of streaming data that can be read incrementally, commonly used for handling network responses and other asynchronous data flows in JavaScript.
-
D.
TransformStreamDefaultController
TransformStreamDefaultController is a web streams API interface that lets transform stream implementations enqueue, error, or terminate chunks during a streaming transformation.
-
E.
accepts PASMO
PASMO is a rechargeable contactless smart card widely used for public transportation and electronic payments across Japan, particularly in the Tokyo metropolitan area.
- F. None of above. chosen
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
The pipeline generated the facts above by prompting gpt-5.1 with this entity's name + description and the instruction below.
Instruction
You are a knowledge base construction expert. Given a subject entity and a description of it, return factual statements that you know for the subject as a JSON list of dictionaries(triples), where keys must be "subject", "predicate" and "object". The number of facts may be very high, between 25 to 50 or more, for very popular subjects. For less popular subjects, the number of facts can be very low, like 5 or 10. # Requirements - If you don't know the subject at all, return an empty list. - If the subject is not a named entity, return an empty list. - Include at least one triple where predicate is "instanceOf". - Do not get too wordy. - Separate several objects into multiple triples with one object.
Input
Subject: PassthroughSubject Description of subject: PassthroughSubject is a Combine publisher in Swift that broadcasts values to its subscribers in real time without storing any history.
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.