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

# Publishers.DropUntilOutput

A publisher that ignores elements from the upstream publisher until it receives an element from second publisher.

```
struct DropUntilOutput<Upstream, Other> where Upstream : Publisher, Other : Publisher, Upstream.Failure == Other.Failure
```

## Topics

### Creating a drop until output publisher

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

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

### Declaring supporting types

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

The kind of values published by this publisher.

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

The kind of errors this publisher might publish.

### Inspecting publisher properties

[`upstream`](/documentation/Combine/Publishers/DropUntilOutput/upstream)

The publisher from which this publisher receives its elements.

[`other`](/documentation/Combine/Publishers/DropUntilOutput/other)

A publisher to monitor for its first emitted element.

### Comparing publishers

[`==(_:_:)`](/documentation/Combine/Publishers/DropUntilOutput/==(_:_:))

Returns a Boolean value that indicates whether two publishers are equivalent.



---

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)