RxJS operator that waits for quiet period in event stream, but in case of busy event stream does not wait for ever
问题 The scenario: I have a stream of events, each event should result in the updated display of information (event stream is from websockets and the display is in a highcharts chart, but that is not important) For performance reasons, I do not want to trigger a UI update for each event. I would rather do the following: When I receive an event I want to do the UI update only it is more than X milliseconds since the last update But every Y milliseconds (Y > X) I want to do an update anyway, if