getallthreads
Lists live Lua threads.
Syntax
Signature
getallthreads() -> {thread}Aliases
This function has no aliases.
Parameters
This function takes no parameters.
Returns
| Type | Description |
|---|---|
{thread} | One-based snapshot of live Lua threads. |
Notes
The order is unspecified.
Example
Luau
local Result = getallthreads()
print(Result)