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

# Publishers.Throttle

A publisher that publishes either the most-recent or first element published by the upstream publisher in a specified time interval.

```
struct Throttle<Upstream, Context> where Upstream : Publisher, Context : Scheduler
```

## Topics

### Creating a throttle publisher

[`init(upstream:interval:scheduler:latest:)`](/documentation/Combine/Publishers/Throttle/init(upstream:interval:scheduler:latest:))

Creates a publisher that publishes either the most-recent or first element published by the upstream publisher in a specified time interval.

### Declaring supporting types

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

The kind of values published by this publisher.

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

The kind of errors this publisher might publish.

### Inspecting publisher properties

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

The publisher from which this publisher receives elements.

[`interval`](/documentation/Combine/Publishers/Throttle/interval)

The interval in which to find and emit the most recent element.

[`scheduler`](/documentation/Combine/Publishers/Throttle/scheduler)

The scheduler on which to publish elements.

[`latest`](/documentation/Combine/Publishers/Throttle/latest)

A Boolean value indicating whether to publish the most recent element.



---

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)