-
-
Notifications
You must be signed in to change notification settings - Fork 733
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
Pre-loading heavier modules #141
Comments
Hello @jmiecz, not available in last 0.9.x version. For |
@arnaudgiuliani Do you happen to have an ETA of when 1.0.0 will drop? |
Target There will be some beta versions before to let you test it. |
Cool, thanks @arnaudgiuliani ! Side question, will |
Frameskip comes from processing in main thread. Preloading stuff and make load in background thread will help you 👍 |
Sounds good, thanks :D |
How is it possible to load Koin dependencies in the background thread? Something that can be accomplished with Coroutines or RX? |
@johnnycube all definitions are lazy by default. We are currently working on the We will have:
You will be able to use this last in a background thread. |
available in koin |
Hello,
Is there a way to pre-load some modules? I've noticed that the UI thread will sometimes lock up for a couple of seconds while Koin is grabbing all the depenicies.
An example would be, having an HttpClient that is used among different services. When you call on the first service, the app will hang while it creates the HttpClient for the 1st time but any calls after will result in 0 delay.
The text was updated successfully, but these errors were encountered: