2 -- @author Julien Danjou <julien@danjou.info>
3 -- @copyright 2009 Julien Danjou
6 --- Timer object. This type of object is useful when triggering events in a repeatedly.
7 -- The timer will emit the "timeout" signal every N seconds, N being the timeout value.
8 -- @field timeout Interval in seconds to emit the timeout signal.
9 -- Can be any value, including floating ones (i.e. 1.5 second).
10 -- @field started Read-only boolean field indicating if the timer has been started.
25 -- @param name A signal name.
26 -- @param func A function to call when the signal is emitted.
31 -- @param name A signal name.
32 -- @param func A function to remove.
33 -- @name remove_signal
37 -- @param name A signal name.
38 -- @param ... Various arguments, optional.