aboutsummaryrefslogtreecommitdiffstats
path: root/idatui/_sync.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2026-07-10sync: extract shared settle/wait helpers (idatui/_sync.py)blasty1-0/+91
Factor the pilot suite's ad-hoc 'poll until the UI reacted' loop into one reusable module so the upcoming RPC driver and the tests share a single source of truth for quiescence. wait_for() takes the yield strategy (pilot.pause vs asyncio.sleep); drain()/workers_idle()/settle() give the live driver a 'block until quiescent, then until pred holds' primitive built on Textual's own _wait_for_screen + the worker manager. Ctx.wait now delegates to wait_for; suite unchanged (101 green).