pyqt_reactive.services.interval_snapshot_poller
Generic interval-based background snapshot poller.
Classes
|
Callback-backed interval polling policy. |
|
Runs at most one background poll at a configured interval. |
Policy boundary for background polling behavior. |
- class pyqt_reactive.services.interval_snapshot_poller.IntervalSnapshotPollerPolicyABC[source]
Policy boundary for background polling behavior.
- class pyqt_reactive.services.interval_snapshot_poller.CallbackIntervalSnapshotPollerPolicy(fetch_snapshot_fn: Callable[[], TSnapshot], clone_snapshot_fn: Callable[[TSnapshot], TSnapshot], poll_interval_seconds_value: float = 1.0, on_snapshot_changed_fn: Callable[[TSnapshot], None] | None = None, on_poll_error_fn: Callable[[Exception], None] | None = None)[source]
Callback-backed interval polling policy.
- class pyqt_reactive.services.interval_snapshot_poller.IntervalSnapshotPoller(policy: IntervalSnapshotPollerPolicyABC[TSnapshot])[source]
Runs at most one background poll at a configured interval.
- __init__(policy: IntervalSnapshotPollerPolicyABC[TSnapshot]) None[source]