0.7.5
-
motoko (
moc
)-
Add new primitives for a default timer mechanism (#3542). These are
setTimer : (delayNanos : Nat64, recurring : Bool, job : () -> async ()) -> (id : Nat) cancelTimer : (id : Nat) -> ()
By defining a
system func timer
the default mechanism can now be overridden by a custom
implementation. Additionally by supplying the command-line flag-no-timer
all aspects
of timers can be suppressed, e.g. for space- or security-sensitive purposes, thus effectively
reverting canisters to the pre-timers era. -
bugfix: silence bogus cascading errors in stable compatibility check (#3645).
-