repeat is described as:
This method creates a new job with a callback that will repeat at the specified interval. To create a timer that repeat's from a specified time pass in an integer representing the number of seconds that have elapsed since midnight on 1 January 1970, otherwise pass null into the time parameter.
Does passing null in mean that the job fires now and then continues to fire on whatever interval was supplied, or does it first wait the interval time and then fire?
I'd update this a bit for clarity regardless, but assuming it's the former:
This method creates a new job with a callback that will repeat at the specified interval. To start the job immediately, pass null into the time parameter, but if you would like to wait and start at a specific time, pass the epoch timestamp in seconds (seconds elapsed since midnight 1 January 1970 GMT) into the time parameter.
repeatis described as:Does passing
nullin mean that the job fires now and then continues to fire on whatever interval was supplied, or does it first wait the interval time and then fire?I'd update this a bit for clarity regardless, but assuming it's the former: