Komtet / mediator

A library implements the Mediator pattern to make your code extensible
MIT License
19 stars 3 forks source link

Add `%Event%.listen` decorator #2

Closed ghost closed 8 years ago

ghost commented 8 years ago

To allow to make things like this:

@MyEvent.listen(priority=255)
def on_my_event(event):
    pass

Note: use venusian