Executor

constructor(executeEveryNanos: Long, func: () -> Unit)

Parameters

executeEveryNanos

how often (in nanoseconds) to execute the given function.

func

the function to execute after the given time.