isshoni-soft / winry

Isshoni Bootstrapper, uses introspection & code generation to streamline bootstrapping & general development
0 stars 0 forks source link

Create and event bus #25

Closed Dragovorn closed 2 years ago

Dragovorn commented 2 years ago

I believe Winry would benefit from providing event bus functionalities, they can be exposed to the end user and also used internally. Technically we could move runner functionality to be all handled via the event bus. But I think it's best to give those their own part of the lifecycle instead of turning it into event bus runs, because runners can technically fire their own events.

Must-have features:

Dragovorn commented 2 years ago

Event bus is working really well, just need to implement: If a parent method is annotated as event handler it should automatically get carried over but I think that's a potentially large refactor to the annotation manager codebase so I might just remove that from scope.

Dragovorn commented 2 years ago

Just going to remove the other requirement, I like how it is currently.