Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/endbasic/endbasic
/ exec
Method
exec
std/src/datetime.rs:99–102 ·
view source on GitHub ↗
(&self, scope: Scope<'_>)
Source
from the content-addressed store, hash-verified
97
}
98
99
fn exec(&self, scope: Scope<'_>) -> CallResult<()> {
100
debug_assert_eq!(0, scope.nargs());
101
scope.return_double(self.datetime.monotonic().as_secs_f64())
102
}
103
}
104
105
/// The `SLEEP` command.
Callers
1
test_sleep_real
Function · 0.45
Calls
2
return_double
Method · 0.80
monotonic
Method · 0.45
Tested by
1
test_sleep_real
Function · 0.36