MCPcopy Create free account
hub / github.com/dfinity/orbit / next_time

Function next_time

libs/orbit-essentials/src/cdk.rs:9–11  ·  view source on GitHub ↗

Returns the current time in nanoseconds since the epoch. This function increments the time by 1ns for each call in the same round.

()

Source from the content-addressed store, hash-verified

7 ///
8 /// This function increments the time by 1ns for each call in the same round.
9 pub fn next_time() -> u64 {
10 crate::utils::next_time(ic_cdk::api::time())
11 }
12}
13
14#[cfg(not(test))]

Callers 15

submit_icp_transferMethod · 0.50
submit_icrc1_transferMethod · 0.50
cancel_requestsMethod · 0.50
initialize_job_timersFunction · 0.50
from_create_inputMethod · 0.50
newMethod · 0.50
from_create_inputMethod · 0.50

Calls 1

timeFunction · 0.85

Tested by 2

test_repository_crudFunction · 0.40
test_find_by_criteriaFunction · 0.40