Performs a pause. @param pause pause duration, in milliseconds. @return A self reference.
(long pause)
| 447 | * @return A self reference. |
| 448 | */ |
| 449 | public Actions pause(long pause) { |
| 450 | return tick(new Pause(getActivePointer(), Duration.ofMillis(pause))); |
| 451 | } |
| 452 | |
| 453 | public Actions pause(Duration duration) { |
| 454 | Require.nonNegative("Duration of pause", duration); |