proto-kit / framework

Apache License 2.0
28 stars 10 forks source link

Implement upstream event emitters in ModuleContainer #91

Closed rpanic closed 10 months ago

rpanic commented 11 months ago

This PR enables ModuleContainers to collect and aggregate all events emitted by its children modules in a type-safe way. This allows for users to listen to events on a container while the event is actually dispatched from one of the modules inside the container (or further down the container tree).