ThreadNew
Creates a new thread of execution based on the passed closure/lambda.
Method Signature
Arguments
Argument | Type | Required | Description | Default |
---|---|---|---|---|
|
|
| The closure/lambda to execute in the new thread. | |
|
|
| A struct of data to bind into the thread's scope. |
|
|
|
| ||
|
|
| The priority of the thread. Possible values are "high", "low", and "normal". Default is "normal". |
|
Examples
Related
Last updated