MCPcopy Create free account
hub / github.com/livekit/agents / monotonic_read

Method monotonic_read

tests/virtual_time.py:310–312  ·  view source on GitHub ↗

Strictly-increasing wall-clock read off this loop's clock (see _VirtualClock.read).

(self)

Source from the content-addressed store, hash-verified

308 return self._virtual_clock.time()
309
310 def monotonic_read(self) -> float:
311 """Strictly-increasing wall-clock read off this loop's clock (see _VirtualClock.read)."""
312 return self._virtual_clock.read()
313
314 def call_at(self, when: float, callback: Any, *args: Any, **kwargs: Any) -> Any:
315 self._tie_seq += 1

Callers 2

_nowFunction · 0.80
_perfFunction · 0.80

Calls 1

readMethod · 0.45

Tested by

no test coverage detected