---
title: createPublisher
framework: combine
role: symbol
role_heading: Instance Property
path: combine/deferred/createpublisher
---

# createPublisher

The closure to execute when this deferred publisher receives a subscription.

## Declaration

```swift
let createPublisher: () -> DeferredPublisher
```

## Discussion

Discussion The publisher returned by this closure immediately receives the incoming subscription.
