Instance Method

output(at:)

Publishes a specific element, indicated by its index in the sequence of published elements.

Declaration

func output(at index: Int) -> Publishers.Output<Publishers.MapKeyPath2<Upstream, Output0, Output1>>

Parameters

index

The index that indicates the element to publish.

Return Value

A publisher that publishes a specific indexed element.