MCPcopy Create free account
hub / github.com/Recordscript/recordscript / sleep

Function sleep

libs/hbb_common/src/lib.rs:60–62  ·  view source on GitHub ↗
(sec: f32)

Source from the content-addressed store, hash-verified

58
59#[inline]
60pub async fn sleep(sec: f32) {
61 tokio::time::sleep(time::Duration::from_secs_f32(sec)).await;
62}
63
64#[macro_export]
65macro_rules! allow_err {

Callers 5

testFunction · 0.85
dropMethod · 0.85
start_check_processFunction · 0.85
recordFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by 1

testFunction · 0.68