pyre.calc.Observable

Module Contents

class pyre.calc.Observable.Observable(**kwds)

Bases: pyre.calc.Reactor.Reactor

Mix-in class that notifies its clients when the value of a node changes

addObserver(self, observer)

Add {observer} to my pile

removeObserver(self, observer)

Remove {observer} from my pile

replace(self, obsolete)

Remove {obsolete} from its upstream graph and assume its responsibilities

flush(self, **kwds)

Handler of the notification event from one of my observables