public static class Timer extends Object
To schedule a timer, simply create a subclass of it (overriding #run
)
and call #schedule
or #scheduleRepeating
.
NOTE: If you are using a timer to schedule a UI animation, use
AnimationScheduler
instead. The
browser can optimize your animation for maximum performance.
Copyright © 2018. All rights reserved.