Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
push data to browser
#8
IWMonitor component was created for that specific task: polling the server using a lightweight request until a pre-determined condition is met. When this condition is met, another "full" request (sync or async) is posted.

There is a demo here:

https://github.com/Atozed/IntraWeb/tree/...IWMonitor2

IWMonitor still polls the server, but the request doesn't lock the session nor the session list, so it performs much better than a IWTimer, for instance.
Reply


Messages In This Thread
push data to browser - by MrSpock - 06-22-2019, 06:46 AM
RE: push data to browser - by kudzu - 06-22-2019, 03:50 PM
RE: push data to browser - by MrSpock - 06-22-2019, 04:23 PM
RE: push data to browser - by kudzu - 06-24-2019, 01:49 PM
RE: push data to browser - by MrSpock - 06-24-2019, 08:00 PM
RE: push data to browser - by DanBarclay - 06-24-2019, 10:12 PM
RE: push data to browser - by kudzu - 06-25-2019, 04:48 PM
RE: push data to browser - by Alexandre Machado - 06-26-2019, 11:18 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)