执行
然后你就可以在任意的类中拿到flowExecutor,进行执行链路
@Component
public class MainTest{
@Resource
private FlowExecutor flowExecutor;
@Test
public void testConfig(){
LiteflowResponse<DefaultSlot> response = flowExecutor.execute2Resp("chain1", "arg");
}
}
帮助我们改善此文档 (opens new window)
上次更新: 2022/10/07, 00:22:18