// Wrapper component [2] -> [1] without arguments

component Wrapper() A, B -> out {
  join: flow.Join()
  sum: std.Sum()

  .A > sum.integer
  sum.integer > join.token_1
  .B > join.token_2
  join.token > .out
}

counter:std.Counter()
file:io.FileReader()
wrap:Wrapper()
snk:test.Sink()

"data.txt" > file.filename
counter.integer > wrap.A
file.out > wrap.B
wrap.out > snk.token
