terminate

Sends a terminate command to the simulation. There is no guarantee on when this command will be actually processed.

Return

a CompletableFuture that will be completed when the simulation is terminated