Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce lifecycle events #53

Closed
brunschgi opened this issue Apr 23, 2015 · 0 comments
Closed

Introduce lifecycle events #53

brunschgi opened this issue Apr 23, 2015 · 0 comments
Assignees
Milestone

Comments

@brunschgi
Copy link
Owner

Lifecycle events offers the possibility to listen and react on some application internals by using Connectors.
At the moment the following events are planned:

  • t.register.start => emitted when application.registerModules() is started
  • t.missing with params ctx, name, skins => emitted for each module that cannot be found
  • t.register.end => emitted when application.registerModules() is ended

=> The above 3 could eg. be used to collect all missing modules and lazy load them on demand

  • t.start => emitted when the modules are started
  • t.sync => emitted when the start method of all modules has been run
  • t.stop => emitted when the modules are stopped
  • t.unregister.start => emitted when application.unregisterModules() is started
  • t.unregister.end => emitted when application.unregisterModules() is ended
@brunschgi brunschgi added this to the 3.0.0 milestone Apr 23, 2015
@brunschgi brunschgi self-assigned this Apr 23, 2015
brunschgi added a commit that referenced this issue Apr 23, 2015
brunschgi added a commit that referenced this issue Apr 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant