Comments (4)
这样配置,是无法实现你的需求。节点会根据connections.type 找到它所有满足的子节点,然后并发执行。
你可以使用子规则链实现你的需求。把s2,s3这两个并发的节点放进子规则链,然后再接s4。类似这样:
https://rulego.cc/pages/6f46fc/#%E8%A7%84%E5%88%99%E9%93%BE%E6%94%AF%E6%8C%81%E7%9A%84%E8%BF%90%E8%A1%8C%E6%96%B9%E5%BC%8F
子规则链文档:https://rulego.cc/pages/e27cec/
子规则链例子:
rulego/testcases/rule_engine_test.go
Line 151 in 0739c78
from rulego.
感谢你的回复,使用子链是可以满足需求的;
另外实现这个需求时,添加了一个grpc的组件,可以合并到项目中吗?
from rulego.
感谢你的回复,使用子链是可以满足需求的; 另外实现这个需求时,添加了一个grpc的组件,可以合并到项目中吗?
谢谢你的贡献,我能否能访问你的仓库,我先看看。剥离业务,是一个通用的组件,可以合并的这个扩展组件仓库:https://github.com/rulego/rulego-components
方便的话,可以加一下我的微信或者QQ。
from rulego.
好的
from rulego.
Related Issues (13)
- 是单机版的吗?未来路线图种有集群化发展的考虑吗? 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
- 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
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.