Implementing cooldown with Effect Typescript library - Effect Community