Skip to content

fontlabapp.glyphs.common.capture · declarations 001

Back to fontlabapp.glyphs.common.capture

capture

capture(metadata: Callable, *, deadline: float | None = None, clock: Callable = monotonic, cancelled: Callable = lambda: False) -> dict

Publish only a complete report stable across metadata work and two reads.

Native calls cannot be preempted; check immediately after they return. The caller's shared deadline/cancellation flows into metadata and all loops.

read

read(check: Callable) -> tuple[Font, ...]

Read all registered carriers, refusing invalid/missing/repeated identities.