phoenix-channel / ch.kuon.phoenix / ExTimer / timerCalc

timerCalc

var timerCalc: (Int) -> Int

A function that is called when the timer is scheduled.

It is called with the current try and must return a time in miliseconds.

It is used to implement exponential timers.

First value of tries is 1.

Property

timerCalc -

A function that is called when the timer is scheduled.

It is called with the current try and must return a time in miliseconds.

It is used to implement exponential timers.

First value of tries is 1.