DelayedSubscriber

Inheritance diagram of DelayedSubscriber
class DelayedSubscriber(schema, parent=None, sleep=10000, pause=5, period=0)[source]

Bases: taurus.core.util.log.Logger

DelayedSubscriber(schema) will use a TaurusEmitterThread to perform a thread safe delayed subscribing on all Attributes of a given Taurus Schema that has not been previously subscribed.

Warning

This class belongs to a “Delayed Event Subscription” API added in v.4.2.1-alpha as an experimental feature. This API may not be stable and/or it may be removed in a future release (even on a minor version change)

addUnsubscribedAttributes()[source]

Schedule subscription for all pending attributes

cleanUp()[source]

The cleanUp. Default implementation does nothing Overwrite when necessary

getUnsubscribedAttributes()[source]

Check all pending subscriptions in the current factory