The utils.py module#
Summary#
Non-blocking sleep for ms milliseconds. |
|
Execute all pending work on the main thread. |
|
Load a library into the python process on windows. |
Description#
Miscellaneous utilities.
Module detail#
- utils.sleep(ms: int) None#
Non-blocking sleep for ms milliseconds.
Mechanical should still work during the sleep.
- utils.drain() None#
Execute all pending work on the main thread.
Blocks until all the UI messages and other scheduled work complete.
- utils.TEST_HELPER = None#