Skip to content
PACKAGES

AsyncioClock

Kind: class

Source: src/graphrefly/_clock.py:72

AsyncioClock()

A clock over the running asyncio loop. Make it on the thread that runs the loop and owns the graph: its callbacks run there (graphrefly-py:D26).

schedule(delay_ms: float, callback: Callable[[], object]) -> Callable[[], None]

Run callback on the loop after delay_ms; return its cancel function.

Source: src/graphrefly/_clock.py:84