Implementing Delayed API Calls with Effect
Hello! Using effect, I'm not sure how to implement this.
I have many program defined. When I run them, I want to limit some actions. The idea is that before each action (let's say an API call), I need to wait 2 secs.
Is there a way with effect to have something like this?
The idea is to be able to launch 100 program and still respect the no more than 1 requests every 2 secs and each program have to wait X seconds before beeing able to do a request
I have many program defined. When I run them, I want to limit some actions. The idea is that before each action (let's say an API call), I need to wait 2 secs.
Is there a way with effect to have something like this?
The idea is to be able to launch 100 program and still respect the no more than 1 requests every 2 secs and each program have to wait X seconds before beeing able to do a request
