Skip to content

solutions_backend.sensors.service

Lifespan-owned continuous execution of configured source sensors.

Classes

SensorCycleReceipt

Safe aggregate receipt for one serial sensor cycle.

SensorService

Continuously run each registered sensor without letting one failure stop others.

run_cycle

run_cycle() -> SensorCycleReceipt

Run every current descriptor independently under coordinator serialization.

start

start() -> None

Start one immediate cycle followed by bounded periodic cycles.

stop

stop() -> None

Wake and drain the owned task before provider sessions are closed.