receive(_:)
Tells the subscriber that the publisher has produced an element.
Declaration
func receive(_ input: Self.Input) -> Subscribers.DemandParameters
- input:
The published element.
Mentioned in
Return Value
A Subscribers.Demand instance indicating how many more elements the subscriber expects to receive.