init(upstream:strategy:options:)
Creates a publisher that buffers and periodically publishes its items.
Declaration
init(upstream: Upstream, strategy: Publishers.TimeGroupingStrategy<Context>, options: Context.SchedulerOptions?)Parameters
- upstream:
The publisher that this publisher receives elements from.
- strategy:
The strategy with which to collect and publish elements.
- options:
Scheduleroptions to use for the strategy.