Performing Periodic IzoT Application Processing

Once the IzoT network engine is started, a forever loop looks for updates from the IzoT network and makes callbacks to the application, as necessary. The following example asks the network engine to keep looking for 1/10 of a second and then return to the calling function. This example only re-enters into the network service loop, but a full example may also test for I/O and keyboard inputs and handle those responses as needed. If the application uses threads for the user input devices, then the application can elect to pass no value to the service() method.

done = False 
while not done: 
	app.service(0.100) # Allow the IzoT stack time to service its events