pub fn on_main_delayed(ms: u32, f: impl FnOnce() + Send + 'static)
Schedule f on the UI thread after (at least) ms milliseconds — the rail behind day::sleep (docs/async.md).
f
ms
day::sleep