goToStep

abstract fun goToStep(steps: Long): CompletableFuture<Void>(source)

Executes a certain number of steps, then pauses it.

Return

a CompletableFuture that will be completed when the steps are executed

Parameters

steps

the number of steps to execute