Legend:

In that terms `wp.heartbeat.interval()` should probably accept two int arguments, first is the interval in seconds, second would be for how many "beats" (optional, default 10?). Then we can protect a lower value for the interval so plugins don't stomp each other.

15

15

16

Another possibility is to have three values: fast(5), normal(15), slow(30). Then setting it to `slow` will only be possible if the current value is `normal`, and setting `fast` will look into the second argument: for how long/how many "beats", and will revert to `normal` after that.

16

Another possibility is to have three values: fast(5), medium(15), slow(30). Then setting it to `slow` will only be possible if the current value is `normal`, and setting `fast` will look into the second argument: for how long/how many "beats", and will revert to `medium` after that.