You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The synchronous omni.client entry points (stat, copy, read_file) park
Kit's main thread for the entire I/O round-trip and trigger Kit's
"Detected a blocking function. Please switch to the async version"
warning during config init when Nucleus URLs are reached.
Switch the four call sites in assets.py (check_file_path,
retrieve_file_path stat + copy, read_file) to their _async counterparts
and drive them through a shared _drive_kit_async helper that schedules
the coroutine on Kit's asyncio loop and ticks app.update() until it
resolves. Add omni.kit.async_engine as a kit dependency so the loop is
pumped each tick. Falls back to a private event loop when Kit is not
running (unit tests).
0 commit comments