If true, callback runs before waiting period.
Called whenever .start() is invoked. If this function returns:
continue
: the loop starts if it hasn't started yet, or continues if already startedcancel
: loop stops, but can be re-started if .start() is called againdispose
: loop stops and will throw an error if .start() is attempted to be calledreset
: loop resets (ie. existing scheduled task is cancelled)Optional
ticks: numberOptional
elapsedMs: numberAbort signal to exit loop
Options for continuously