Top "Timer" questions

Timer is a component that has the functionality to trigger a user defined action at regular intervals as configured by the user.

Android - loop part of the code every 5 seconds

I would like to start repeating two lines of code every 5 seconds when I press the button START and end …

android loops timer timertask handlers
Resettable Java Timer

I'd like to have a java.utils.Timer with a resettable time in java.I need to set a once …

java timer
Create a simple countdown in processing

I have searched up so many sites on Google to try and get this to work but NO ONE seems …

timer processing countdown intervals
Best way to create a "run-once" time delayed function in C#

I am trying to create a function that takes in an Action and a Timeout, and executes the Action after …

c# timer
How to pause, and resume a TimerTask/ Timer

I have an animation in my Android app that flashes a TextView different colors. I've used a TimerTask, Timer, and …

android timer onresume timertask onpause
Making a interval timer in Java android

I have plans to create an interval app using timers. It should just be the most basic So I'll have …

java android timer intervals
How do I measure how long a function is running?

I want to see how long a function is running. So I added a timer object on my form, and …

c# .net performance timer stopwatch
Starting QTimer In A QThread

I am trying to start a QTimer in a specific thread. However, the timer does not seem to execute and …

c++ multithreading qt timer qthread
Python 3 Timed Input

What I would like to be able to do is ask a user a question using input. For example: print(…

python input timer python-3.x python-multithreading
What is minimum millisecond value of setTimeout?

I would like to put var minValue = 0; if ( typeof callback == 'function' ) { setTimeout( callback, minValue ); } this code when I implement callback …

javascript timer cross-browser settimeout