| 2 | import { Clock } from "./clock"; |
| 3 | |
| 4 | export class SimpleClock implements Clock { |
| 5 | preciseNow(): [number, number] { |
| 6 | const now = new PreciseDate(); |
| 7 | const nowStruct = now.toStruct(); |
| 8 | |
| 9 | return [nowStruct.seconds, nowStruct.nanos]; |
| 10 | } |
| 11 | |
| 12 | reset() { |
| 13 | // do nothing |
| 14 | } |
| 15 | } |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…