You could try hiRegTimer which will perform a wait and then wake up and execute a callback:
hiRegTimer( "results()" 100 )
Runs results() every 10 seconds. All your processing should be done within the callback.
Hi , I guess ipcBeginProcess will work for your requirement.
If you can give a sample exmaple I can explain indetail.