# timer

A scheduled callback or countdown. Freed automatically once no longer referenced
or once it completes.


### remain <sub>accessor</sub>

Get or set how many seconds remain before the timer triggers.



**value**: (when setting) A float specifying new time remaining.


**Returns**: The current time left (when getting), or None (when setting).


### fn <sub>accessor</sub>

Get or set the function called when the timer expires.



**value**: (when setting) The function.


**Returns**: The function or undefined if none is set.

