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

Remove hour/day/minute listeners in favor of a big update function #625

Open
joskuijpers opened this issue Sep 28, 2017 · 1 comment
Open
Assignees
Milestone

Comments

@joskuijpers
Copy link
Member

joskuijpers commented Sep 28, 2017

Give ssMain a big update function that calls into our modules, allowing us to control update order perfectly.

So WM:dayChanged turns into :updateForecast and :updateWeatherListeners. After that, the germination data in GM is updated, instead of WM calling into GM.

There should be a "before midnight" and "after midnight".

@joskuijpers joskuijpers added this to the v2 milestone Sep 28, 2017
@joskuijpers joskuijpers self-assigned this Sep 28, 2017
@joskuijpers
Copy link
Member Author

Btw, this is only for mod classes. Objects and Specs can of course use the listeners freely.

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