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.

Proper way to implement a never ending task. (Timers vs Task)

So, my app needs to perform an action almost continuously (with a pause of 10 seconds or so between each run) …

c# multithreading timer task-parallel-library .net-4.5
Is DateTime.Now the best way to measure a function's performance?

I need to find a bottleneck and need to accurately as possible measure time. Is the following code snippet the …

c# .net performance datetime timer
Compare using Thread.Sleep and Timer for delayed execution

I have a method which should be delayed running for a specified amount of time. Should I use Thread thread = …

c# multithreading timer sleep delayed-execution
Timertask or Handler

Let's say that I want to perform some action every 10 seconds and it doesn't necessarily need to update the view. …

android performance timer handler timertask
What is the equivalent of javascript setTimeout in Java?

I need to implement a function to run after 60 seconds of clicking a button. Please help, I used the Timer …

java javascript timer settimeout setinterval
Timers in PLC - Structured Text

How do timers work in PLC Structured Text (ST)? How do we declare them? I've been studying a standard of …

timer plc st
Attempt to invoke virtual method

I am trying to make a simple timer using the Timer and TimerTask classes. I keep getting the following error: …

android timer timertask
Comparing Timer with DispatcherTimer

what is a difference between System.Windows.Forms.Timer() and System.Windows.Threading.DispatcherTimer() ? In which cases, we should use …

c# timer
react native show current time and update the seconds in real-time

I want to show the current time(MM/DD/YY hh:mm:ss) in react native app like a clock, …

reactjs timer react-native clock
How do you use a TimerTask to run a thread?

I'm struggling to find documentation for the TimerTask function on Android. I need to run a thread at intervals using …

android multithreading timer timertask