Top "Polling" questions

Polling is actively sampling the status of an external device by a client program as a synchronous activity.

Detect If Browser Tab Has Focus

Is there a reliable cross-browser way to detect that a tab has focus. The scenario is that we have an …

javascript optimization polling
jQuery, simple polling example

I'm learning jQuery, and I'm trying to find a simple code example that will poll an API for a condition. (…

jquery polling
How to wait for a WebSocket's readyState to change

I'm trying to implement a WebSocket with a fallback to polling. If the WebSocket connection succeeds, readyState becomes 1, but if …

javascript websocket polling
How does push notification technology work on Android?

How has Google implemented their push notification feature? Does it work through polling done by a service running in the …

android push-notification polling
Using setInterval() to do simplistic continuous polling

For a simple webapp that needs to refresh parts of data presented to the user in set intervals, are there …

javascript ajax setinterval polling
jQuery AJAX polling for JSON response, handling based on AJAX result or JSON content

I'm a novice-to-intermediate JavaScript/jQuery programmer, so concrete/executable examples would be very much appreciated. My project requires using AJAX …

javascript jquery ajax json polling
Why is this message not only displayed when a file is written to (using the poll C Linux function)?

I was reading about poll in C programming and built an application given on the poll(2) man page. Here is …

c linux polling
polling api every x seconds with react

I have to monitoring some data update info on the screen each one or two seconds. The way I figured …

javascript reactjs polling
Polling the right way?

I am a software/hardware engineer with quite some experience in C and embedded technologies. Currently i am busy with …

c# multithreading task hardware polling
How to reset timeout in Javascript/jQuery?

I've got a field A in my webpage which, when edited by the user, invokes an API call (using jQuery), …

javascript jquery timeout polling