/
Performing Periodic IzoT Application Processing
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
, multiple selections available,
Related content
IzoT Examples
IzoT Examples
More like this
Creating an IzoT Python Application
Creating an IzoT Python Application
More like this
Implementing Event Handlers for Enrollment Events
Implementing Event Handlers for Enrollment Events
More like this
IzoT Server
IzoT Server
More like this
Adding a Console Menu
Adding a Console Menu
More like this
Handling a Device Event
Handling a Device Event
More like this