Skip to content

monitor_task

Abstract base class for monitor tasks.

Classes:

  • MonitorTask

    Abstract base class for periodic monitoring tasks.

MonitorTask

Bases: ABC

Abstract base class for periodic monitoring tasks.

Methods:

  • poll

    Poll for updates, yielding graph update events.

  • run_loop

    Run the polling loop at the specified period.

  • stop

    Stop the monitoring loop.

poll abstractmethod

poll()

Poll for updates, yielding graph update events.

run_loop async

run_loop(period_s: float)

Run the polling loop at the specified period.

stop

stop()

Stop the monitoring loop.