Skip to content

event-dispatcher: after-events hooks to get the trigger event info

Ashok Sidipotu requested to merge mynext-rebased into next-rebased

after-events hooks will get the original event triggering it, instead of the rescan event.

after-events hook can register with any event, but it is called with rescan event info. This is so because, after-events hook run after all the on-events hooks are done with and as a part of the rescan event. so it is triggered with rescan event data, which doesnt carry much info, instead of rescan event, it makes more sense to call the after-events hook with the original event which triggered it.

Merge request reports

Loading