klyn.threading.Thread.sleep
method
public static sleep(millis as Int) as Void
Description

Sleeps until the requested deadline, or an early stop/interruption. A cooperative pause can extend the call beyond that deadline. Stop or interruption requests wake it early; the caller must check the request and return cleanly. Nonpositive durations do not wait.

Parameters
ParameterDescription
millisMaximum sleeping duration in milliseconds.
Example

Thread.sleep(10)