Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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]
60
pub async fn sleep(sec: f32) {
61
tokio::time::sleep(time::Duration::from_secs_f32(sec)).await;
62
}
63
64
#[macro_export]
65
macro_rules! allow_err {
Callers
5
test
Function · 0.85
drop
Method · 0.85
start_check_process
Function · 0.85
record
Function · 0.85
main
Function · 0.85
Calls
no outgoing calls
Tested by
1
test
Function · 0.68