init(upstream:range:)
Creates a publisher that publishes elements specified by a range.
Declaration
init(upstream: Upstream, range: CountableRange<Int>)Parameters
- upstream:
The publisher from which this publisher receives its elements.
- range:
The range of elements to publish.