AsyncioClock
AsyncioClock
Section titled “AsyncioClock”Kind: class
Source: src/graphrefly/_clock.py:72
Signature
Section titled “Signature”AsyncioClock()Description
Section titled “Description”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).
Methods
Section titled “Methods”schedule
Section titled “schedule”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