<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Combine",
  "identifier" : "/documentation/Combine/PassthroughSubject",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Combine"
    ],
    "preciseIdentifier" : "s:7Combine18PassthroughSubjectC"
  },
  "title" : "PassthroughSubject"
}
-->

# PassthroughSubject

A subject that broadcasts elements to downstream subscribers.

```
final class PassthroughSubject<Output, Failure> where Failure : Error
```

## Overview

As a concrete implementation of [`Subject`](/documentation/Combine/Subject), the [`PassthroughSubject`](/documentation/Combine/PassthroughSubject) provides a convenient way to adapt existing imperative code to the Combine model.

Unlike [`CurrentValueSubject`](/documentation/Combine/CurrentValueSubject), a [`PassthroughSubject`](/documentation/Combine/PassthroughSubject) doesn’t have an initial value or a buffer of the most recently-published element.
A [`PassthroughSubject`](/documentation/Combine/PassthroughSubject) drops values if there are no subscribers, or its current demand is zero.

## Topics

### Creating a passthrough subject

[`init()`](/documentation/Combine/PassthroughSubject/init())



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)