How to implement polling in a gadget?
If you need to implement polling in a gadget, it is not recommended to use the setTimeout() or setInterval() directly because too many timers that run concurrently can cause issues for JavaScript.
The Finesse container provides a service (the TimerTickEvent) that you can leverage for your third-party gadgets.
For more information please see the Finesse Container Timer section of the Finesse Developer Guide.
Comments
1 comment
Is there a sample gadget or some sort of example using this? I'm a bit confused by the code and seeing an example of all aspects of how this is implemented would be helpful.
I have no idea what goes where "Developer's add UI update logic here" is and I also don't understand what code you using in the XML/HTML so that this displays for the user.
Please sign in to leave a comment.