Just FYI, to provide some thankful feedback :sligh...
# koin
h
Just FYI, to provide some thankful feedback 🙂: Thanks to the great docs regarding context isolation, I managed to implement a global dependency context using thread-local. By doing, so the kalasim-user can run multiple simulations at ease in parallel with isolated dependency contexts without even thinking about dependencies. And whenever a simulation is started it makes sure to set the correct koin context for the current thread. See https://github.com/holgerbrandl/kalasim/blob/master/src/main/kotlin/org/kalasim/misc/DependencyContext.kt and as example https://www.kalasim.org/examples/atm_queue/#parallel-whatif
a
Great 💪 and thanks for your feedback