Tuesday 12 April 2016

Producing a composite pipe or a "pipeline"

I have several streams that I would like to connect with pipesnew compositeStream([A,B,C])I'd like to return a single stream S in which D.pipe S.pipe E will pipe the output of D through A, B and C, then out through E.Is there a simple way to do this?A.pipe B.pipe C does not work, because it returns only the destination stream. I want a new stream with an entrance at AI realize that pi.pipeline accomplishes this, but I guess I'm wondering if there's some way I can comfortably chain calls, like A.pipeline(B.pipeline(C));

Submitted April 12, 2016 at 08:52PM by Yamochao

No comments:

Post a Comment