pub fn with_interval(interval: Duration) -> Option
WithInterval is an option for setting the interval between ticks. Pass as an argument to new.
new