init(upstream:count:)
Creates a publisher that buffers a maximum number of items.
Declaration
init(upstream: Upstream, count: Int)Parameters
- upstream:
The publisher that this publisher receives elements from.
- count:
The maximum number of received elements to buffer before publishing.