-
-
Notifications
You must be signed in to change notification settings - Fork 20
Closed
Labels
breakingcomponent:event-dispatcherkind:enhancementNew functionality to an existing featureNew functionality to an existing feature
Description
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
- Some event dispatcher methods would need to be made into
_or free var type restrictions- Basically saying "I accept any obj that has at least one method annotated with
AEDA::AsEventListener", erroring if there are none.
- Basically saying "I accept any obj that has at least one method annotated with
- Auto configuration on this type will need to be re-implemented too
- With Config v3 #337, can probably do this within the bundle extension 💪
- TBD
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
breakingcomponent:event-dispatcherkind:enhancementNew functionality to an existing featureNew functionality to an existing feature