mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-05-14 12:12:08 +08:00
enhancement #I4ZPNQ 隐式调用流程建议增加返回reponse的接口
This commit is contained in:
@@ -283,6 +283,11 @@ public class FlowExecutor {
|
||||
this.execute(chainId, param, slotClazz, slotIndex, true);
|
||||
}
|
||||
|
||||
public <T extends Slot> LiteflowResponse<T> invoke2Resp(String chainId, Object param, Class<T> slotClazz,
|
||||
Integer slotIndex){
|
||||
return this.execute2Resp(chainId, param, slotClazz, slotIndex, true);
|
||||
}
|
||||
|
||||
public <T extends Slot> void invoke(String nodeId, Integer slotIndex) throws Exception {
|
||||
Node node = FlowBus.getNode(nodeId);
|
||||
node.execute(slotIndex);
|
||||
|
||||
Reference in New Issue
Block a user