---
title: receiveCompletion
framework: combine
role: symbol
role_heading: Instance Property
path: combine/publishers/handleevents/receivecompletion
---

# receiveCompletion

A closure that executes when the upstream publisher finishes normally or terminates with an error.

## Declaration

```swift
var receiveCompletion: ((Subscribers.Completion<Publishers.HandleEvents<Upstream>.Failure>) -> Void)?
```

## See Also

### Inspecting publisher properties

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