You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, not sure if I am confused or if it is a bug, but while debounce works well, the throttle is skipping the last event (number 10 in the example "marble chart" in Readme). It seems it is not resetting the time window after the given timeout, other libraries are doing it (I checked Rx and Lodash)
Hi, not sure if I am confused or if it is a bug, but while debounce works well, the throttle is skipping the last event (number 10 in the example "marble chart" in Readme). It seems it is not resetting the time window after the given timeout, other libraries are doing it (I checked Rx and Lodash)
a minimal example comparing mini-throttle with lodash throttle: https://codesandbox.io/p/sandbox/damp-browser-fyd2g4?file=%2Fsrc%2Findex.js%3A1%2C1-26%2C1
slow and fast events:
CleanShot.2023-07-17.at.11.23.12.mp4
CleanShot.2023-07-17.at.11.21.55.mp4