[ buster ]
[ ソース: obsub ]
パッケージ: python-obsub (0.2-3)
Python module that implements the observer pattern via a decorator
The @event decorator makes functions or methods "observable". Consuming code can subscribe callbacks to these decorated callables, and the callbacks will be triggered everytime the callables are invoked.
This package sports the Python 2 module.