About 647,000 results
Open links in new tab
  1. How to send API requests with intervals using setInterval()?

    Feb 18, 2022 · We often need to send continuous API requests with intervals. It can be done to fetch updated data, show changes without having to reload, etc. Let's see how we can …

  2. javascript - Using setInterval() to do simplistic continuous polling ...

    The first solution is basically summarized as you send a single AJAX request and wait for a response before sending an additional one, then once the response has been delivered, …

  3. Window: setInterval() method - Web APIs | MDN - MDN Web Docs

    Apr 8, 2025 · The setInterval() method returns a positive integer (typically within the range of 1 to 2,147,483,647) that uniquely identifies the interval timer created by the call.

    Missing:

    • Data

    Must include:

  4. Window setInterval() Method - W3Schools

    The setInterval() method calls a function at specified intervals (in milliseconds). The setInterval() method continues calling the function until clearInterval() is called, or the window is closed. 1 …

    Missing:

    • Request

    Must include:

  5. JavaScript setInterval () Method - GeeksforGeeks

    Jun 3, 2024 · The setInterval() method calls a function at specified intervals (in milliseconds). It continues calling the function until clearInterval() is called or the window is closed. This …

    Missing:

    • Request

    Must include:

  6. Using setInterval() in Javascript - DEV Community

    Jan 5, 2022 · Here is an example of using the clearInterval () method with setInterval () to be able to start/stop the function from executing every x seconds: // check if already an interval has …

  7. Mastering setInterval() in JavaScript: A Comprehensive Guide …

    Oct 26, 2024 · Learn how to use setInterval() in JavaScript for executing code repeatedly at specific intervals. This comprehensive guide covers everything from basic usage to advanced …

  8. Scheduling: setTimeout and setInterval - The Modern JavaScript

    Oct 3, 2022 · For instance, we need to write a service that sends a request to the server every 5 seconds asking for data, but in case the server is overloaded, it should increase the interval to …

  9. javascript - Using set interval and fetch in a function - Stack Overflow

    Create a function startShowingMessage that takes two parameters: an element and a string that is a URL. The function will use setInterval to make the following task every 1s: fetch the URL …

  10. JavaScript setInterval: Complete Guide to Timing Functions

    To implement setInterval (), follow these simple steps: console.log("This message appears every 2 seconds"); Basic Syntax and Parameters. The setInterval () method accepts two main …

    Missing:

    • Request

    Must include:

  11. Some results have been removed
Refresh