forked from platypush/platypush
Fabio Manganiello
32b8296244
This allows procedures and event hooks to have more flexible signatures. Along the lines of: ```python @when(SomeEvent) def hook(event): ... @when(SomeOtherEvent) def hook2(): ... ``` Instead of supporting only the full context spec: ```python @when(SomeEvent) def hook(event, **ctx): ... ``` Closes: #400 |
||
---|---|---|
.. | ||
processor | ||
__init__.py | ||
hook.py |