Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pipeing execution of reactors #7

Open
activey opened this issue Jun 24, 2016 · 0 comments
Open

Pipeing execution of reactors #7

activey opened this issue Jun 24, 2016 · 0 comments

Comments

@activey
Copy link
Owner

activey commented Jun 24, 2016

Just came up with crazy idea of using somehow similar mechanism as it is on posix with "|" character. Immagine given scenario:

There are two Reactors (no matter how deeply nested), lets name first ReactorA and second ReactorB. Both of them are mapped respectively to their names so u can call each like this:

reactor-a -p1 param1 -p2 param2
reactor-b -v1 valueX -v2 valueY

and now, let's assume that reactor-b produces output in given structure:

response_line1 = value1
response_line2 = value2

now, how about calling them in pipe:

reactor-a -p1 param1 -p2 param2 | reactor-b -v1 ${response_line1} -v2 ${response_line2}
?? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant