(&self)
| 82 | #[async_trait(?Send)] |
| 83 | impl endbasic_std::datetime::DateTime for WebDateTime { |
| 84 | fn monotonic(&self) -> Duration { |
| 85 | Duration::from_secs_f64(current_time_millis() / 1000.0) |
| 86 | } |
| 87 | |
| 88 | async fn sleep(&self, d: Duration) -> Result<(), String> { |
| 89 | let ms = d.as_millis(); |
nothing calls this directly
no test coverage detected