From 2acec6c7e2f2c9b533602a4af3fd98350bafd717 Mon Sep 17 00:00:00 2001 From: bryan31 Date: Tue, 26 Apr 2022 23:14:40 +0800 Subject: [PATCH] =?UTF-8?q?enhancement=20#I4ZPNQ=20=E9=9A=90=E5=BC=8F?= =?UTF-8?q?=E8=B0=83=E7=94=A8=E6=B5=81=E7=A8=8B=E5=BB=BA=E8=AE=AE=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E8=BF=94=E5=9B=9Ereponse=E7=9A=84=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/yomahub/liteflow/core/FlowExecutor.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/liteflow-core/src/main/java/com/yomahub/liteflow/core/FlowExecutor.java b/liteflow-core/src/main/java/com/yomahub/liteflow/core/FlowExecutor.java index a30e42988..23dc8fa3e 100644 --- a/liteflow-core/src/main/java/com/yomahub/liteflow/core/FlowExecutor.java +++ b/liteflow-core/src/main/java/com/yomahub/liteflow/core/FlowExecutor.java @@ -283,6 +283,11 @@ public class FlowExecutor { this.execute(chainId, param, slotClazz, slotIndex, true); } + public LiteflowResponse invoke2Resp(String chainId, Object param, Class slotClazz, + Integer slotIndex){ + return this.execute2Resp(chainId, param, slotClazz, slotIndex, true); + } + public void invoke(String nodeId, Integer slotIndex) throws Exception { Node node = FlowBus.getNode(nodeId); node.execute(slotIndex);