MCPcopy 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_realFunction · 0.45

Calls 2

return_doubleMethod · 0.80
monotonicMethod · 0.45

Tested by 1

test_sleep_realFunction · 0.36