Useful tools for engines.
MeasureSpy(queue, observed_entries, observed_database)¶
Spy observing a task database and sending values update into a queue.
All updates are sent immediatly as no issues have been detected so far. Using a timer based implementation would complicate things.
Set of entries for which to send notifications.
Reference to the database that needs to be observed.
Queue in which to send the updates.
Put an update in the queue.
Change is a tuple as this is connected to a Signal.
Put a dummy object signaling that no more updates will be sent.