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

Waits for completion.

This method returns immediately when the thread has not started. A logically terminated thread is still joined because its detached native worker may be completing the final instructions of its shutdown path.

Example

worker.start() worker.join()