This is an old revision of the document!
Register a periodic timer callback using CUBLOC OnTimer semantics.
from cubloc import OnTimer OnTimer(interval: int, callback: object)
interval in 10 ms units (1 to 65535).interval is outside the supported range.from cubloc import OnTimer, Debug, CR def timer_handler(): Debug("Timer tick", CR) # 100 ticks x 10 ms = 1000 ms (1 second) OnTimer(100, timer_handler)