Contents

receive(subscription:)

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

Declaration

final 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.

See Also

Receiving life cycle events