eda_sys_message_bus_subscribe_once_public
Subscribe to a public message bus topic for a one-time callback, executing the handler only on the next matching message.
Instructions
sys_MessageBus.subscribeOncePublic(topic: string, callbackFn: (message: any) => void) -> ISYS_MessageBusTask 公共消息总线:订阅单次消息 returns: 消息总线任务
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |