enhancement #I4ZPNQ 隐式调用流程建议增加返回reponse的接口
This commit is contained in:
parent
e60c87dec2
commit
2acec6c7e2
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue