Get one event per 1000 milliseconds interval
问题 I have infinite stream of events that can emit some consecutive event portions and I want to take one event per 1000 each milliseconds. I tried debounceTime / auditTime / throttleTime but they doesn't include all events I want - to demonstrate the behavior I created playground on stackblitz which fires events once per 300ms within portion of 10 events: debounceTime(1000) will give only event # 10 throttleTime(1000) will give events 1,5,9 but it will omit # 10 which is essential auditTime(1000