Function ic_cdk::timer::set_timer_interval
source · Expand description
Sets func
to be executed every interval
. Panics if interval
+ time()
is more than u64::MAX
nanoseconds.
To cancel the interval timer, pass the returned TimerId
to clear_timer
.
Note that timers are not persisted across canister upgrades.