---
title: receiveRequest
framework: combine
role: symbol
role_heading: Instance Property
path: combine/publishers/handleevents/receiverequest
---

# receiveRequest

A closure that executes when the publisher receives a request for more elements.

## Declaration

```swift
var receiveRequest: ((Subscribers.Demand) -> Void)?
```

## See Also

### Inspecting publisher properties

- [upstream](combine/publishers/handleevents/upstream.md)
- [receiveSubscription](combine/publishers/handleevents/receivesubscription.md)
- [receiveOutput](combine/publishers/handleevents/receiveoutput.md)
- [receiveCompletion](combine/publishers/handleevents/receivecompletion.md)
- [receiveCancel](combine/publishers/handleevents/receivecancel.md)
