Clock
Kind: class
Source: src/graphrefly/_clock.py:16
Description
Section titled “Description”What a graph’s clock offers: run callback once after delay_ms milliseconds,
and return a function that cancels it if it has not run.
Methods
Section titled “Methods”schedule
Section titled “schedule”schedule(delay_ms: float, callback: Callable[[], object]) -> Callable[[], None]Run callback once delay_ms have passed; return its cancel function.
Source: src/graphrefly/_clock.py:20