javascript - How to invoke the adapter(SQL or HTTP) call for every few seconds in IBM MobileFirstPlatform -


in application(using jquerymobile) invoking sql adapter call getting data enterprise database , storing in jsonstore in mobile app, need update real time data automatically in jsonstore whenever enterprise db updated, without disturbing mobile ui(means not showing jsonstore refreshing). please give me suggestions on this. if feature available in mfp, suggest sample or tutorial in ibmkc. in advance.

this not related mobilefirst.

it sound want implement setinterval.
see usage examples here: http://www.sitepoint.com/setinterval-example/

simply call whichever function have sync jsonstore , don't in callbacks interfere application's ui.


Comments

Popular posts from this blog

sql - VB.NET Operand type clash: date is incompatible with int error -

SVG stroke-linecap doesn't work for circles in Firefox? -

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -