Provided By | |
---|
Extends | |
---|
All Implemented Interfaces | |
---|
A Delay object invokes the associated function after a specified delay. The
interval duration can be specified once in the constructor, or can be defined
each time the delay is started. Calling start on an active delay will reset
the timer.
new Delay<THIS>( listener, opt_interval, opt_handler )
Parameters | listener | function(): ? | | Function to call when the
delay completes.
| opt_interval | number= | | The default length of the invocation delay (in
milliseconds).
| opt_handler | (THIS|null)= | | The object scope to invoke the function in.
|
|
---|