eda_sys_message_bus_rpc_service_public
Registers a callback as an RPC service on the public message bus, enabling EasyEDA Pro windows to invoke remote procedures by topic.
Instructions
sys_MessageBus.rpcServicePublic(topic: string, callbackFn: (...args: Array) => any | Promise) -> void 公共消息总线:注册 RPC 服务
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |