Contents

receive(_:)

Tells the subscriber that the publisher has produced an element.

Declaration

func receive(_ input: Self.Input) -> Subscribers.Demand

Parameters

  • input:

    The published element.

Mentioned in

Return Value

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

See Also

Receiving elements