Function executed on each interval tick. Receives the elapsed time (ms) since the start. If the function returns a truthy value, the interval is cleared immediately
Interval duration in milliseconds between each callback invocation
Optionaltimeout: numberOptional maximum duration in milliseconds before the interval is automatically cleared. If omitted, the interval runs until the callback stops it
If true, the callback is invoked once immediately
before the interval is scheduled (defaults to false)
The job object containing the cancel function and interval ID
Repeatedly invokes a callback at a fixed interval until one of the following conditions is met:
startImmediatelyistrue, the callback is invoked once immediately before the interval begins.