Code snippet: a simple rate limiter
Aurélien Delogu

Aurélien Delogu @pyrsmk

About: I'm a senior developer who thinks that coding is pretty much like art. I'm also crazy about sushis 🍣

Location:
Angers, France
Joined:
Jul 2, 2020

Code snippet: a simple rate limiter

Publish Date: Jul 8 '22
6 0

This code snippet is different from my previous one: A performant async queue. Even if it works quite the same way.

The big difference is that it runs functions after some wait time, instead of waiting some time after functions have finished to run.

There's also an NPM package: dumb-limiter.

Comments 0 total

    Add comment