Files
playbook/docs/tsl/reference/catalog/client.md
T
csh 540b3c0a1b 📝 docs(tsl): restructure agent-facing reference
Rework TSL syntax, catalog, modules, and routing docs around deterministic agent lookup and generation.

Split large catalog pages into focused function fact pages, remove obsolete pending/verified/unavailable paths, and update consistency tests for the new structure.
2026-06-09 17:24:30 +08:00

39 lines
1.2 KiB
Markdown

# 客户端函数
文档类型:函数事实页
是否可直接用于生成代码:是;本页函数条目均包含参数表
遇到不确定时:回到 [../index.md](../index.md)、[../../syntax/index.md](../../syntax/index.md)
这一页描述客户端交互、界面控制与前端协作能力。生成函数调用时,只按函数条目中的参数表传参。
## 模块范围
- 说明:客户端交互、界面控制与前端协作能力
- 函数事实数:2
## 客户端行为控制函数
### `tsExpert_ClientConfig()`
用途:客户端行为控制函数相关函数。
参数个数:0
返回值:处理结果
| 参数位置 | 参数名 | 必填 | 接收类型 | 说明 |
| -------- | ------ | ---- | -------- | ---- |
## 直接函数
### `sendRunningData(data[, window_name])`
用途:直接函数相关函数。
参数个数:1 到 2
返回值:处理结果
| 参数位置 | 参数名 | 必填 | 接收类型 | 说明 |
| -------- | ------------- | ---- | -------- | -------------------------------- |
| 1 | `data` | 是 | 任意值 | 要发送到运行结果窗口的数据 |
| 2 | `window_name` | 否 | 字符串 | 结果窗口名称;省略时在原窗口输出 |