FixedTimeExecutor

constructor(executeEveryNanos: Long, repeats: Int = 0, func: () -> Unit)

Parameters

repeats

how many times to repeat before stopping. If it is 0 (default) then it will last forever (see finished)