setInterval :: Int -> Effect Unit -> Effect IntervalId
Runs an effectful function after on a set interval with the specified delay
in milliseconds between iterations. The returned
IntervalId can be used
to cancel the timer and prevent the interval from running any further.
The interval delay value is capped at 4ms by the JS API, any value less than this will be clamped.