Anjani
Anjani copied to clipboard
refactor(event_dispatcher): make running event concurrent
TO-DO: # ~~Rework /backup and /restore command~~ # ~~Fix matches object dissapered after loop end~~ # ~~StopPropagation breaks~~
Change-Id: I60da7aee2eed7f001c92e2508e3457aa11d2887f
Need to implement data checking on restore.
currently all on_plugin_restore raise exception but somewhat suppressed when they didn't find the plugin name key on the data received.
Current implementation will breaks all the plugin restore method.
TO-DO:
- ~~Check plugin name on data key before propagating the event. This will conditionally run certain listener only. Plugin that have no data will not be called.~~
Still need adjustment for event StopPropagation