The function to execute at each interval
OptionalcomponentComponent reference to cancel the interval when the component is disabled or destroyed
The time in milliseconds between each execution
OptionalentityEntity reference to cancel the interval when the entity is disabled or destroyed
OptionalexecuteWhether to execute the callback immediately before starting the interval timer
Optionaltimes?: numberOptional number of times to execute before auto-clearing. Omit for infinite execution.
OptionaluseWhether to use the time scale for the interval, default is TRUE
Options for configuring an interval timer.