idle#

ensight.idle(yield_cpu: bool = False) None#

Execute EnSight idle processing

Call the EnSight idle processing loop a single time. It is used in closed Python loops where EnSight idle processing (animation, gRPC, etc) needs to be allowed to take place.

Args:
yield_cpu:

If True, the call will give up the cpu time slice when executing the idle loop. It can help reduce cpu utilization while polling.