Home > SYS_MessageBus > rpcCallPublic
SYS_MessageBus.rpcCallPublic() method
公共消息总线:调用 RPC 服务
签名
typescript
rpcCallPublic(topic: string, message?: any, timeout?: number): Promise<any>;1
参数名
参数 | 类型 | 描述 |
|---|---|---|
topic | string | 主题 |
message | any | (Optional) 消息 |
timeout | number | (Optional) 超时 |
返回值
Promise<any>
RPC 服务返回