propagate callback to allow stacked decorators

This commit is contained in:
əlemi 2022-01-19 02:24:00 +01:00
parent 15801426b0
commit ee7befc4ab

View file

@ -24,6 +24,7 @@ class CallbacksHolder:
if key not in self._callbacks:
self._callbacks[key] = []
self._callbacks[key].append(callback)
return callback
def trigger(self, key:Any) -> List[Callable]:
if key not in self._callbacks: