Runs something if no cooldown is active and starts the cooldown after running it.
whether run was executed.
The key for this cooldown.
The length of this cooldown in milliseconds.
What to run if this cooldown is complete.