Implementing cooldown with Effect Typescript library

How to implement cooldown?
I've a list of proxies that I need to apply cooldown to them where each one of them can be used n scheduled times (e.g. 1s of delay between each usage) and after that the proxy is available for usage after it cools down
Which module in Effect should be used to implement cooldown and should I use Ref combined with Scheduled to track the number of usages and delay them? Or there is a better suggestion?
Was this page helpful?