Constructs a new Interval instance with the given interval duration and callback function.
The interval duration in milliseconds.
The function to be called when the interval is triggered.
Private intervalPrivate isPrivate isGenerated using TypeDoc
A class representing an interval that triggers a callback function repeatedly at a specified time interval.