同步获取响应数据

This commit is contained in:
Guoqs
2024-08-01 15:38:33 +08:00
parent cd8ae84bdf
commit 201137bb9f
5 changed files with 16 additions and 20 deletions

View File

@@ -13,7 +13,7 @@ public class RpcResponseHandler extends SimpleChannelInboundHandler<RpcResponse>
if(syncPromise != null) {
// 设置响应结果
syncPromise.setRpcResponse(msg);
// syncPromise.setRpcResponse(msg);
// 唤醒外部线程
syncPromise.wake();