---
title: "init(_:)"
framework: combine
role: symbol
role_heading: Initializer
path: "combine/asyncpublisher/init(_:)"
---

# init(_:)

Creates a publisher that exposes elements received from an upstream publisher as an asynchronous sequence.

## Declaration

```swift
init(_ publisher: P)
```

## Parameters

- `publisher`: An upstream publisher. The asynchronous publisher converts elements received from this publisher into an asynchronous sequence.
