public join() as Void:
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.
worker.start() worker.join()