Hooks between ember engine and host app


I’d like to run some code in my host app after running a controller action in an engine.

The only way I can think of doing this is to create a dedicated service in the host app, provide it to the engine and call a method on this service when necessary in the engine’s controller action. Every app using this engine would have to define this service, which troubles me a bit…

Is there a better way of achieving such a use case ?