athena-framework / athena

An ecosystem of reusable, independent components
https://athenaframework.org
MIT License
211 stars 17 forks source link

Deprecate `AED::EventListenerInterface` #360

Closed Blacksmoke16 closed 5 months ago

Blacksmoke16 commented 6 months ago

As part of the last event dispatcher component refactor of #236, the AED::EventListenerInterface interface was essentially left as a marker, not really being used to type any collections or abstract methods. Because of this, it could be a nice win to just get rid of it entirely, instead leaning on the AEDA::AsEventListener annotated methods instead. This'll mean one less thing the user needs to remember to do, leading to a better DX.

Dev Notes