goToTime

abstract fun goToTime(time: Time): CompletableFuture<Unit>

Executes the simulation until the target time time is reached, then pauses it. The returned future completes when the target time is reached.