When I run the docs example https://juliadynamics.github.io/ConcurrentSim.jl/stable/#Example I get exactly the output shown.
But then if I run run again I get further output:
julia> run(sim, 2)
slow 2.0
fast 2.0
Is this the intended functionality ?
I would say that "slow 2.0" and "fast 2.0" should either be printed the first time I call run(sim, 2) or not be printed at all. In the docs you say
The simulation will then stop when the internal clock reaches 10 but will not process any events scheduled for time 10. This is similar to a new environment where the clock is 0 but (obviously) no events have yet been processed.
So I guess, "slow 2.0" and "fast 2.0" shouldn't be printed even when I call run(sim, 2) again ?
Overall, it's pretty confusing that the edge events are called only the second time I call run and I have the impression it shouldn't be this way ?