语法
getactorthreads(): table别名
getactorstates返回值
| 名称 | 类型 | 描述 |
|---|---|---|
threads | table | 包含请求值的表。 |
说明
返回与 Actor 执行关联的线程。
无需参数即可调用。函数会从当前 runtime 状态读取所需上下文。
返回 threads (table)。使用返回表区分成功值、nil 结果和可恢复错误。
示例
使用占位值的示例调用。
local result = getactorthreads()
print(result)