Instance Method


Tells the subscriber that a publisher of void elements is ready to receive further requests.


func receive() -> Subscribers.Demand
Available when Input is Void.

Return Value

A Subscribers.Demand instance indicating how many more elements the subscriber expects to receive.


Use Void inputs and outputs when you want to signal that an event has occurred, but don’t need to send the event itself.