This is unreleased documentation for Yew Next version.
For up-to-date documentation, see
the latest version on docs.rs
.
☰
yew
0.21.0
In yew::platform::time
?
Function
yew
::
platform
::
time
::
sleep
[
−
]
pub fn sleep(dur:
Duration
) -> impl
Future
<Output =
()
>
Expand description
Waits until duration has elapsed.