MCPcopy Create free account
hub / github.com/AI45Lab/Code / now_epoch_ms

Function now_epoch_ms

core/src/orchestration/combinators.rs:17–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15use tokio::sync::broadcast;
16
17fn now_epoch_ms() -> u64 {
18 std::time::SystemTime::now()
19 .duration_since(std::time::UNIX_EPOCH)
20 .map(|d| d.as_millis() as u64)
21 .unwrap_or(0)
22}
23
24/// A pipeline stage: given the previous stage's outcome (`None` before the
25/// first stage) and the original item, produce the next step to run — or

Callers 1

Calls 1

nowFunction · 0.85

Tested by

no test coverage detected