MCPcopy Create free account
hub / github.com/CleanCut/ultimate_rust2 / sleep

Function sleep

example/kitchen/src/main.rs:4–6  ·  view source on GitHub ↗
(seconds: f32)

Source from the content-addressed store, hash-verified

2use std::{thread, time::Duration};
3
4fn sleep(seconds: f32) {
5 thread::sleep(Duration::from_secs_f32(seconds));
6}
7
8pub mod dad {
9 use super::{info, sleep};

Callers 4

cafeteria_workerFunction · 0.85
cook_spaghettiFunction · 0.85
cook_sauce_and_set_tableFunction · 0.85
sleep_msFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected