The Throttle
operator provides a mechanism to control backpressure in reactive streams. Throttle
emits an element from the source sequence only if that element is followed by a period of silence longer than DueTime. If new elements are received during this period, the previous element is dropped and the silent period timer is reset.
Warning
Any elements emitted by Throttle
will necessarily be delayed by DueTime, since the only way to test that an element is followed by a period of silence is to wait out the period.