pub fn after(delay: Duration, then: impl FnOnce() + 'static)Expand description
Do then once delay has passed — the chrome’s own clock, for the two
things that are a matter of time rather than of state: a confirmation’s
dwell and the window a double click is told from a single one.
Off a browser there is no clock, so nothing happens: a snapshot renders what the page looks like now, not what it will look like in two seconds.