Przeglądaj źródła

优化一些被启用的代码

everywhere.z 2 lat temu
rodzic
commit
371715dbbe

+ 2 - 0
liteflow-core/src/main/java/com/yomahub/liteflow/core/NodeComponent.java

@@ -383,6 +383,7 @@ public abstract class NodeComponent{
 		this.cmpDataTL.remove();
 	}
 
+	@Deprecated
 	public void invoke(String chainId, Object param) throws Exception {
 		FlowExecutorHolder.loadInstance().invoke(chainId, param, this.getSlotIndex());
 	}
@@ -391,6 +392,7 @@ public abstract class NodeComponent{
 		return FlowExecutorHolder.loadInstance().invoke2Resp(chainId, param, this.getSlotIndex());
 	}
 
+	@Deprecated
 	public void invokeInAsync(String chainId, Object param) throws Exception {
 		FlowExecutorHolder.loadInstance().invokeInAsync(chainId, param, this.getSlotIndex());
 	}