Non-Standard A handle returned from a call to setInterval.
Non-Standard A handle returned from a call to setInterval.
May only be used to pass to clearInterval.
Non-Standard A handle returned from a call to setTimeout.
Non-Standard A handle returned from a call to setTimeout.
May only be used to pass to clearTimeout.
Non-Standard Raw JavaScript timer methods.
Non-Standard Raw JavaScript timer methods.
The methods on this object expose the raw JavaScript methods for timers. In general it is more advisable to use the methods directly defined on timers as they are more Scala-like.
Cancel an interval execution
Cancel an interval execution
The handle returned by setInterval.
Uses JavaScript's non-standard clearInterval
Cancel a timeout execution
Cancel a timeout execution
The handle returned by setTimeout.
Uses JavaScript's non-standard clearTimeout
Schedule something for repeated execution every duration.
Schedule something for repeated execution every duration.
duration between executions
code to execute after each interval
A handle that can be used to cancel the interval by passing it to clearInterval.
Uses JavaScript's non-standard setInterval
Schedule something for repeated execution every interval
milliseconds.
Schedule something for repeated execution every interval
milliseconds.
duration in milliseconds between executions
code to execute after each interval
A handle that can be used to cancel the interval by passing it to clearInterval.
Uses JavaScript's non-standard setInterval
Schedule something for execution after a duration.
Schedule something for execution after a duration.
duration to wait
code to execute after interval
has passed
A handle that can be used to cancel the timeout by passing it to clearTimeout.
Uses JavaScript's non-standard setTimeout
Schedule something for execution in interval
milliseconds.
Schedule something for execution in interval
milliseconds.
duration in milliseconds to wait
code to execute after interval
has passed
A handle that can be used to cancel the timeout by passing it to clearTimeout.
Uses JavaScript's non-standard setTimeout
Non-Standard Non-standard, but in general well supported methods to schedule asynchronous exeuction.
The methods in this package work in all JavaScript virtual machines supported by Scala.js (currently Rhino, Node.js and PhantomJS).