klyn.threading.Thread.join
method
public join(timeoutMillis as Int) as Void:
Description

Waits up to a timeout in milliseconds.