Comments (6)
OnEnd和OnDebug异步触发的,所以这里面打印顺序是不确定的。OnAllNodeCompleted 是所有节点执行完了才会触发,但不包括用户自定义的OnEnd和OnDebug逻辑。
from rulego.
下面的Incoming message是log组件打印的,说明log组件没有执行完就调用OnAllNodeCompleted了
from rulego.
![image](https://private-user-images.githubusercontent.com/38398954/333981748-c18c4b87-b655-4482-97f1-5da7eefecb50.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkxMzgyNDcsIm5iZiI6MTcxOTEzNzk0NywicGF0aCI6Ii8zODM5ODk1NC8zMzM5ODE3NDgtYzE4YzRiODctYjY1NS00NDgyLTk3ZjEtNWRhN2VlZmVjYjUwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjIzVDEwMTkwN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTA4ZGY0ZjllMjNjNTAwMjBjNzM1ZDM1NzdhMTUyMWJkODNlMGNjYjBlYjZlZjAwNTM0NDYxYzY0MDM2M2JhYTgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Fn3vkskjp4jBblerYNM8e9359X5Ht8jVR4Q5UrBNtFs)
from rulego.
应该是迭代器组件引起的,因为迭代器组件会执行多次,另外遍历完还会触发一个Success
链导致提前判断结束。
from rulego.
确实是迭代器组件的问题,去掉后运行正常
from rulego.
v0.22.0将会提供新的for组件 ,使用 for组件 代替。for组件会等待子链执行完再往下走。
from rulego.
Related Issues (17)
- 是单机版的吗?未来路线图种有集群化发展的考虑吗? HOT 1
- hope more developers can contribute extension components to RuleGo
- What new features do you want RuleGo to add? Please leave a message here HOT 3
- 请问有Hook(或者类似的机制)吗 HOT 4
- 节点依赖未生效 HOT 4
- Python runtime支持 HOT 3
- 请教下规则链部分的架构**是什么? HOT 1
- fatal error: concurrent map writes
- 是否支持空链,目前初始化空链后,onMsg 程序会直接 panic HOT 1
- How does the restApiCall component add HTTP basic authentication credentials? HOT 2
- Does restApiCall or net support the grpc protocol HOT 1
- 如何保证流程中断后重启 HOT 4
- About using the native plugin pkg HOT 2
- 数据流双向流动支持 HOT 1
- 【需求收集】 HOT 2
- Seeking Collaborators to Participate in the Diverse Development of the RuleGo Project/寻找共同开发者参与 RuleGo 项目的多元化发展
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rulego.