receive(subscription:)
Tells the subscriber that it has successfully subscribed to the publisher and may request items.
Declaration
func receive(subscription: any Subscription)Parameters
- subscription:
A subscription that represents the connection between publisher and subscriber.
Discussion
Use the received Subscription to request items from the publisher.