Returns the current time in nanoseconds since the epoch. This function increments the time by 1ns for each call in the same round.
()
| 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))] |