<!--
{
  "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/Publishers/MakeConnectable",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Combine"
    ],
    "preciseIdentifier" : "s:7Combine10PublishersO15MakeConnectableV"
  },
  "title" : "Publishers.MakeConnectable"
}
-->

# Publishers.MakeConnectable

A publisher that provides explicit connectability to another publisher.

```
struct MakeConnectable<Upstream> where Upstream : Publisher
```

## Overview

[`Publishers.MakeConnectable`](/documentation/Combine/Publishers/MakeConnectable) is a [`ConnectablePublisher`](/documentation/Combine/ConnectablePublisher), which allows you to perform configuration before publishing any elements. Call [`connect()`](/documentation/Combine/ConnectablePublisher/connect()) on this publisher when you want to attach to its upstream publisher and start producing elements.

Use the [`makeConnectable()`](/documentation/Combine/Publisher/makeConnectable()) operator to wrap an upstream publisher with an instance of this publisher.

## Topics

### Creating a connectable publisher

[`init(upstream:)`](/documentation/Combine/Publishers/MakeConnectable/init(upstream:))

Creates a connectable publisher, attached to the provide upstream publisher.

### Declaring supporting types

[`Publishers.MakeConnectable.Output`](/documentation/Combine/Publishers/MakeConnectable/Output)

The kind of values published by this publisher.

[`Publishers.MakeConnectable.Failure`](/documentation/Combine/Publishers/MakeConnectable/Failure)

The kind of errors this publisher might publish.



---

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)