Sleep
Sleeps the current thread for the specified duration in millisecons
Method Signature
Arguments
Examples
Related
Last updated
Sleeps the current thread for the specified duration in millisecons
Last updated
Argument | Type | Required | Description | Default |
---|---|---|---|---|
duration
long
true
The amount of time, in milliseconds to sleep the thread