Skip to content

fontlabapp.core.signals.deferred.DeferredBatch

DeferredBatch

Own one single-shot timer and an equality-coalesced target queue.

Every schedule restarts the zero timer, including duplicate targets. A timeout detaches the current queue before processing it in insertion order. Work scheduled during processing belongs to a fresh batch; nested event loops can dispatch that batch immediately. The caller must retain any dispatch-depth refusal and error sink it needs. Processor failures propagate unchanged and abandon the unattempted detached tail, matching the donor.

Source bases

  • Generic[Target] (not resolved from selected source)

Complete member index

Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.

Member Kind Signature Summary
__init__ function (self, qt: Any, process: Callable[[Target], Any]) -> None
schedule function (self, target: Target) -> None Retain the first equal target, then start or restart the timer.