concept Throttle in category .net

appears as: Throttle
Rx.NET in Action

This is an excerpt from Manning's book Rx.NET in Action.

The next example uses DistinctUntilChanged to prevent the same search term from being sent to the search service if it has already been sent. To make this approach more realistic, I’m using another important operator called Throttle. This operator emits a value only if a particular timespan has passed without another value being emitted. In this case, a search term is sent only if no other search term is provided within 400 milliseconds:

To add this kind of behavior to your observable pipeline, so notifications will be dropped unless a predefined period of time has passed without other notifications arriving, you can use the Throttle operator,[4] depicted in figure 10.8.

Figure 10.8. The Throttle operator emits an item from an observable only if a particular time span has passed without emitting another item.