---
title: Subscribers.Demand
framework: combine
role: symbol
role_heading: Structure
path: combine/subscribers/demand
---

# Subscribers.Demand

A requested number of items, sent to a publisher from a subscriber through the subscription.

## Declaration

```swift
@frozen struct Demand
```

## Mentioned in

Processing Published Elements with Subscribers

## Topics

### Creating a demand instance

- [max(_:)](combine/subscribers/demand/max(_:).md)

### Using special demands

- [unlimited](combine/subscribers/demand/unlimited.md)
- [none](combine/subscribers/demand/none.md)

### Inspecing demand properties

- [max](combine/subscribers/demand/max.md)

### Encoding and decoding

- [encode(to:)](combine/subscribers/demand/encode(to:).md)
- [init(from:)](combine/subscribers/demand/init(from:).md)

### Performing mathematical operations

- [*(_:_:)](combine/subscribers/demand/*(_:_:).md)
- [*=(_:_:)](combine/subscribers/demand/*=(_:_:).md)
- [+(_:_:)](combine/subscribers/demand/+(_:_:)-2hdad.md)
- [+(_:_:)](combine/subscribers/demand/+(_:_:)-902we.md)
- [+=(_:_:)](combine/subscribers/demand/+=(_:_:)-20lis.md)
- [+=(_:_:)](combine/subscribers/demand/+=(_:_:)-3k1hv.md)
- [-(_:_:)](combine/subscribers/demand/-(_:_:)-1r0gm.md)
- [-(_:_:)](combine/subscribers/demand/-(_:_:)-6mw4s.md)
- [-=(_:_:)](combine/subscribers/demand/-=(_:_:)-1d0m9.md)
- [-=(_:_:)](combine/subscribers/demand/-=(_:_:)-9pwnc.md)

### Comparing demands

- [==(_:_:)](combine/subscribers/demand/==(_:_:)-4oy8i.md)
- [==(_:_:)](combine/subscribers/demand/==(_:_:)-7246z.md)
- [!=(_:_:)](combine/subscribers/demand/!=(_:_:)-3j2h8.md)
- [!=(_:_:)](combine/subscribers/demand/!=(_:_:)-2dj1p.md)
- [<(_:_:)](combine/subscribers/demand/_(_:_:)-1wuod.md)
- [<(_:_:)](combine/subscribers/demand/_(_:_:)-ciby.md)
- [<(_:_:)](combine/subscribers/demand/_(_:_:)-8nf1g.md)
- [<=(_:_:)](combine/subscribers/demand/_=(_:_:)-5f62z.md)
- [<=(_:_:)](combine/subscribers/demand/_=(_:_:)-2otvi.md)
- [<=(_:_:)](combine/subscribers/demand/_=(_:_:)-9cywv.md)
- [>(_:_:)](combine/subscribers/demand/_(_:_:)-35p6f.md)
- [>(_:_:)](combine/subscribers/demand/_(_:_:)-4k1xp.md)
- [>(_:_:)](combine/subscribers/demand/_(_:_:)-74yle.md)
- [>=(_:_:)](combine/subscribers/demand/_=(_:_:)-6lv9s.md)
- [>=(_:_:)](combine/subscribers/demand/_=(_:_:)-28c1e.md)
- [>=(_:_:)](combine/subscribers/demand/_=(_:_:)-5xnt.md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Comparable](swift/comparable.md)
- [Copyable](swift/copyable.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
