async fn sleep(
forth: &mut Forth<MnemosContext>,
into_duration: impl FnOnce(u64) -> Duration,
) -> Result<(), Error>
Expand description
Binding for Kernel::sleep()
Sleep for the provided duration.
Call: DURATION {sleep::us, sleep::ms, sleep::s}
.
Return: No change