Skip to content

Conversation

@lucasconstantino
Copy link
Contributor

Add event emitter to the server to allow ultimate changes to application settings; useful for testing purposes.

@recidive
Copy link
Owner

recidive commented Jan 8, 2015

The problem with the event approach as an alternative to a hook is that it will break as soon as you implement an asynchronous handler. I.e. it will not wait until the the handler alters the settings for creating the application.

@lucasconstantino
Copy link
Contributor Author

Agreed. I went through with events mostly because it was a fastly reachable result. I think this can be easily modified to a hook, I try and have a look at that later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants