Stops processing of the thread specified in the name attribute.
If you terminate a thread, the thread scope includes an ERROR metadata structure with information about the termination. (optional, default=run)
Lucee Function Reference
Function THREADTERMINATE
Example
threadterminate(string name):void
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
Name | Type | Required | Description |
---|---|---|---|
name | string | Yes | The name of the thread to stop. |