Create an accurate interval that does not skew over time.
var interval = accurateInterval(func, interval, opts)
function- Function to call ever interval ms. func takes one argument, scheduledTime, which is the timestamp in milliseconds the callback was scheduled for.
number- Interval (in ms) with which to call func.
boolean- Optional. Align timestamps. Default is
boolean- Optional. Call func immediately as well. Default is
var accurateInterval = ;var foo =;;