Giter Club home page Giter Club logo

Comments (4)

whki avatar whki commented on May 25, 2024

这样配置,是无法实现你的需求。节点会根据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
image

子规则链文档:https://rulego.cc/pages/e27cec/
子规则链例子:

func TestSubRuleChain(t *testing.T) {

from rulego.

xiaoyan648 avatar xiaoyan648 commented on May 25, 2024

感谢你的回复,使用子链是可以满足需求的;
另外实现这个需求时,添加了一个grpc的组件,可以合并到项目中吗?

from rulego.

whki avatar whki commented on May 25, 2024

感谢你的回复,使用子链是可以满足需求的; 另外实现这个需求时,添加了一个grpc的组件,可以合并到项目中吗?

谢谢你的贡献,我能否能访问你的仓库,我先看看。剥离业务,是一个通用的组件,可以合并的这个扩展组件仓库:https://github.com/rulego/rulego-components
方便的话,可以加一下我的微信或者QQ。

from rulego.

xiaoyan648 avatar xiaoyan648 commented on May 25, 2024

好的

from rulego.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.