Hi Everyone, I have question about kodein-di on native platform such as iOS and macOS. If I do the setup the dependency when app start (which is on main thread), is it possible to retrieve/use those dependencies later from non main thread?
r
romainbsl
03/08/2022, 9:26 PM
This could led to freezing your container with the current Kotlin/Native memory model
romainbsl
03/08/2022, 9:27 PM
why would you access the container for another thread ?
romainbsl
03/08/2022, 9:27 PM
your objects could do the background work while being retreived on the main thread