Waking
What wakes a window that runs no loop, and what holds the splash until the first screen is ready.
Desktop
arkui::wake
A window that runs no loop sleeps until something rings its Bell: a page's hashchange and popstate ring it (wake::page_changes).
arkui::wake
What wakes a window that runs no loop: a bell anything can ring, one timer at a deadline, and the browser's address bar moving.
Bell::new(), ring(), rung(), subscription()at(key, delay)page_changes(f)
Rules
- With nothing playing, dwelling or arriving, a window runs no timer.
Mobile
Where
ui/Splash.kt: holdSplashUntil
How
- holdSplashUntil(ceilingMs) { ready }: in onCreate, before setContent.
Nothing shared for this on iOS yet.