ui_app

module networksource

Waiting in the Ui (decisions/F12.md, "Waiting in ui"): the requests send sends and the resources load keeps, each request an exchange belonging to an owner, cancelled when it goes. Where one runs depends on where the Ui is: natively on the app's network tasks, which wait in std::http and give back through the background work's channel; on the web through fetch, its callback waking the loop; in a replay from its script; and in a Ui made on its own at once. What came back is handled as a handler at the next update. While a binding shown reads an exchange's progress, the Ui looks at it every 100 ms. None of it is in a program sending nothing: the Ui's state for it is an extension installed as the first request goes, the tasks' a service of the app's.