apple / swift-async-algorithms

Async Algorithms for Swift
Apache License 2.0
2.95k stars 147 forks source link

Ensure the last element of reduction in the throttle is emitted and use appropriate delay #292

Closed phausler closed 1 year ago

phausler commented 1 year ago

This corrects and validates the case where the last element of a throttle is within the period of the throttle interval but no subsequent elements are produced after that terminal event.

phausler commented 1 year ago

@swift-ci please test