pause

abstract fun pause(): CompletableFuture<Unit>

Sends a pause command to the simulation. There is no guarantee on when this command will be actually processed. The returned future completes when the simulation is paused.