auradefi 0.1.1
PyPI GitHub

SystemClock

auradefi.clock · source

The wall clock, and the default when a host binds no other.

Time is a port precisely so this class is replaceable: quota windows, sync throttling and as_of_ms are all derived from now_ms(), so swapping it is what makes those testable without sleeping.

now_ms

now_ms(self) -> int

Current time as integer milliseconds since the Unix epoch.