Skip to content

fontlabapp.fontui.livesync.Echo · declarations 001

Back to fontlabapp.fontui.livesync.Echo

__init__

__init__() -> None

clear

clear() -> None

Forget the token; the next check refreshes.

record

record(fingerprint: str) -> None

Remember fingerprint as the state the window's own write produced.

stale

stale(fingerprint: str) -> bool

Return True when fingerprint is not the window's own echo.

A match keeps the token (FontLab may report one write several times); a mismatch drops it, so a later return to that state still refreshes.