Questions tagged [ajax-polling]

Ajax polling is a technique used for checking for new server-side events.

98 questions
1
vote
1 answer

Configurable polling interval with angular and rxjs

I am trying to create continuous polling using rxjs and angular. Below is an implementation of my requirement. https://stackblitz.com/edit/angular-sq3ke5 ngOnInit() { const bitcoin$ = this.http.get('https://blockchain.info/ticker'); …
Mahesh
  • 1,427
  • 2
  • 19
  • 42
1
vote
1 answer

AJAX Updates with Angular

I am trying to implement a polling method in my client that uses AJAX. I am building an ASP.NET framework Web application, wit c# on the backend and I use JavaScript with Angular on the front end, but I am unsure of.... 1.) If the code I have will…
Casey Daly
  • 383
  • 8
  • 25
1
vote
0 answers

Does one-way binding imply there are no watchers using a setTimeout function?

From what I am reading, two-way binding means there are "watchers" that implement a setTimeout in JavaScript every so many milliseconds to keep the model and view inline with each other. In one-way binding, once the view is populated, are the events…
johnny
  • 19,272
  • 52
  • 157
  • 259
1
vote
2 answers

Refresh a PHP required file within a specific intervals

I tried these: