goToTime

abstract fun goToTime(t: Time): CompletableFuture<Void>

Executes the simulation until the target time is reached, then pauses it.

Return

a CompletableFuture that will be completed when the target time is reached

Parameters

t

the target time