Reposted by Matyáš Volf
Node.js 26.10 comes with built-in debounce and throttle utilities. Like it! Can't tell you how many times I implemented (copied from the previous project) these two.
Debounce:
nodejs.org/docs/latest/...
Throttle:
nodejs.org/docs/latest/...
#nodejs