Instance Method

receive(_:)

Tells the subscriber that the publisher has produced an element.

Declaration

final func receive(_ value: Input) -> Subscribers.Demand

Parameters

input

The published element.

Discussion

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

Relationships

From Protocol