---
title: "init(upstream:other:)"
framework: combine
role: symbol
role_heading: Initializer
path: "combine/publishers/dropuntiloutput/init(upstream:other:)"
---

# init(upstream:other:)

Creates a publisher that ignores elements from the upstream publisher until it receives an element from another publisher.

## Declaration

```swift
init(upstream: Upstream, other: Other)
```

## Parameters

- `upstream`: A publisher to drop elements from while waiting for another publisher to emit elements.
- `other`: A publisher to monitor for its first emitted element.
