Skip to content

Pipeing execution of reactors #7

@activey

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions