eda_sys_message_bus_pull_async_public
Pull a message from the public message bus asynchronously. Returns a Promise that resolves to the next available message, one per call.
Instructions
sys_MessageBus.pullAsyncPublic(topic: string) -> Promise
公共消息总线:拉消息 Promise 版本
remarks: 每次只能拉一个消息,可以使用 await 等待消息拉取
returns: 拉取到的消息
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |