About 65,900,000 results
Open links in new tab
  1. What is the JavaScript version of sleep ()? - Stack Overflow

    Jun 4, 2009 · A sleep can be perfectly implemented in JavaScript allbeit not with real-time precision. After all it is an event based system. If async calls are completed an event is triggered.

  2. Is there a sleep function in JavaScript? - Stack Overflow

    Jul 17, 2009 · If you are looking to block the execution of code with call to sleep, then no, there is no method for that in JavaScript. JavaScript does have setTimeout method. setTimeout will let …

  3. How do I get my program to sleep for 50 milliseconds?

    Dec 18, 2008 · 21 There is a module called 'time' which can help you. I know two ways: sleep Sleep (reference) asks the program to wait, and then to do the rest of the code. There are two …

  4. Sleep function in C++ - Stack Overflow

    Nov 1, 2009 · Is there a function like Sleep(time); that pauses the program for X milliseconds, but in C++? Which header should I add and what is the function's signature?

  5. sql - Sleep function in ORACLE - Stack Overflow

    I need execute an SQL query in ORACLE it takes a certain amount of time. So I wrote this function: CREATE OR REPLACE FUNCTION MYSCHEMA.TEST_SLEEP ( TIME_ IN …

  6. shell - Windows batch: sleep - Stack Overflow

    How do I get a Windows batch script to wait a few seconds? sleep and wait don't seem to work (unrecognized command).

  7. c++ - Sleep () vs _sleep () functions - Stack Overflow

    Mar 21, 2018 · The platform can put you to sleep for longer if that is beneficial to system performance. So a sleep for zero (or more) milliseconds says to the platform that now would …

  8. Difference between "wait ()" vs "sleep ()" in Java - Stack Overflow

    What is the difference between a wait() and sleep() in Threads? Is my understanding that a wait() -ing Thread is still in running mode and uses CPU cycles but a sleep() -ing does not consume …

  9. python - How do I make a time delay? - Stack Overflow

    With this method, you wouldn't get access to the other features of the time library and you can't have a variable called sleep. But you could create a variable called time.

  10. When to use Task.Delay, when to use Thread.Sleep?

    Sep 26, 2020 · Thread.Sleep blocks the calling thread and can cause performance issues in applications with high concurrency. There is no minimum value for Task.Delay to be effective …