Make EventManager portable

So far, we need to bypass application object for modules to emit
a event.  This make EventManager portable and easy to pass event
emitter.  This brings modules less coupled with application object.
This commit is contained in:
Takeshi KOMIYA
2019-03-09 16:46:41 +09:00
parent d501bc136c
commit 9e2aba54d3
11 changed files with 69 additions and 33 deletions

View File

@@ -38,3 +38,8 @@ Builder API
.. automethod:: write_doc
.. automethod:: finish
**Attributes**
.. attribute:: events
An :class:`.EventManager` object.