---
title: receiveSubscription
framework: combine
role: symbol
role_heading: Instance Property
path: combine/publishers/breakpoint/receivesubscription
---

# receiveSubscription

A closure that executes when the publisher receives a subscription, and can raise a debugger signal by returning a true Boolean value.

## Declaration

```swift
let receiveSubscription: ((any Subscription) -> Bool)?
```

## See Also

### Inspecting publisher properties

- [upstream](combine/publishers/breakpoint/upstream.md)
- [receiveOutput](combine/publishers/breakpoint/receiveoutput.md)
- [receiveCompletion](combine/publishers/breakpoint/receivecompletion.md)
