Skip to content

Pipeing execution of reactors #7

Description

@activey

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}
?? :)

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions