Initializer

init(upstream:range:)

Creates a publisher that publishes elements specified by a range.

Declaration

init(upstream: Upstream, range: CountableRange<Int>)

Parameters

upstream

The publisher that this publisher receives elements from.

range

The range of elements to publish.