Skip to content
PACKAGES

Clock

Kind: class

Source: src/graphrefly/_clock.py:16

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.

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