addTask

fun addTask(timer: Timer, action: () -> Unit)
fun addTask(timer: Timer.Loop, shouldEnd: (Long, Long, Long) -> Boolean, action: () -> Unit)
fun addTask(timer: Timer, action: () -> Unit, exceptionHandler: (Throwable) -> Unit)
fun addTask(timer: Timer.Loop, shouldEnd: (Long, Long, Long) -> Boolean, action: () -> Unit, exceptionHandler: (Throwable) -> Unit)
fun addTask(interval: Long, times: Long, action: () -> Unit, exceptionHandler: (Throwable) -> Unit)