class

UIng::Timer

Inherits Reference < Object

A repeating UI timer. stop prevents further user callbacks immediately; libui-ng removes its native timer when the next tick returns zero.

Instance methods

stop

Stops future user callbacks. Call on the UI thread; it is safe to call this inside the callback.

Source
stopped?

Whether the timer has been stopped explicitly, by returning false, by a callback error, or by UIng.uninit.

Source