---
title: "receive(subscription:)"
framework: combine
role: symbol
role_heading: Instance Method
path: "combine/subscribers/assign/receive(subscription:)"
---

# receive(subscription:)

Tells the subscriber that it has successfully subscribed to the publisher and may request items.

## Declaration

```swift
final func receive(subscription: any Subscription)
```

## Parameters

- `subscription`: A subscription that represents the connection between publisher and subscriber.

## Discussion

Discussion Use the received Subscription to request items from the publisher.

## See Also

### Receiving life cycle events

- [receive(completion:)](combine/subscribers/assign/receive(completion:).md)
