[ 源代码: obsub ]
软件包:python3-obsub(0.2.1-1)
Python 3.x 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 every time the callables are invoked.