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