Sleeps for the specified duration of time. @param duration How long to sleep. @throws InterruptedException If the thread is interrupted while sleeping.
(Duration duration)
| 31 | * @throws InterruptedException If the thread is interrupted while sleeping. |
| 32 | */ |
| 33 | void sleep(Duration duration) throws InterruptedException; |
| 34 | } |
no outgoing calls