ThreadJoin
Last updated
Last updated
Waits for the given thread object to finish running
Argument | Type | Required | Description | Default |
---|---|---|---|---|
threadName
string
false
The name of the thread to join to the main thread. This can be the name of the thread or a comma-separated list of thread names.
timeout
numeric
false
The maximum time in milliseconds to wait for the thread to finish running. If the thread does not finish running within this time, the join operation will be aborted.
0