Module: AMS::Timer
- Defined in:
- Documentation/ams/timer.rb
Overview
Note:
Windows only!
The Timer namespace contains functions that are associated with Windows
timer. Unlike the UI.start_timer
/UI.stop_timer
functions, AMS::Timer has timeout parameter in milliseconds, it properly
stops if repeat is false and the messagebox is called within it, and it
yields information to a timer procedure which might be handy.
Class Method Summary collapse
-
.start(time_out, repeat) {|count, time| ... } ⇒ Fixnum?
Create a timed procedure.
-
.stop(id) ⇒ Boolean
Kill the specified timed procedure.
Class Method Details
.start(time_out, repeat) {|count, time| ... } ⇒ Fixnum?
Create a timed procedure.
.stop(id) ⇒ Boolean
Kill the specified timed procedure.