Gitcoin is GDPR complaint. Learn more in
Gitcoin's Terms & Conditions.
Check out the Issue Explorer
Looking to fund some work? You can submit a new Funded Issue here.
Currently the event system always send the event to relaying objects even if there is no callback at the end of the chain.
So if a chain of object forwards events originated in an object A but there is no callback registered to consume this events. The event is going to be passed through all the chain of objects with no particular reason to be discarded at the end.
The idea for this issue is to implement lazyness in the current system. The goal is that publishing an event which has no registered callback should be a no-op and super fast.
Perhaps patching `_publish` on certain objects depending on the callbacks that particular event has registered.