---
title: "init(_:)"
framework: combine
role: symbol
role_heading: Initializer
path: "combine/publishers/mergemany/init(_:)-1hsqd"
---

# init(_:)

Creates a publisher created by applying the merge function to an arbitrary number of upstream publishers.

## Declaration

```swift
init(_ upstream: Upstream...)
```

## Parameters

- `upstream`: A variadic parameter containing zero or more publishers to merge with this publisher.

## See Also

### Creating a merge many publisher

- [init(_:)](combine/publishers/mergemany/init(_:)-3hrmo.md)
