Closed sboishtyan closed 2 years ago
You would need to create a simulation context before instantiating the resource. E.g. with
Environment().apply{
val devices = Resource(name = "devices", capacity = 1)
}
For more details regarding koin and dependency injection see https://www.kalasim.org/basics/#dependency-injection
Feel welcome if you have further issues.
I've adjusted the docs accordingly
kalasim 0.6.6
How could I start
KoinApplication
?