pull-pair
A pair of {source, sink} streams that are internally connected, (what goes into the sink comes out the source)
This can be used to construct pipelines that are connected.
var pull =var pair =var p =//read values into this sink...//but that should become the source over here.
This is particularily useful for creating duplex streams especilaly
around servers. Use pull-pair/duplex
to get two duplex streams
that are attached to each other.
var DuplexPair =var d =//the "client": pipe to the first duplex and get the response.//the "server": pipe from the second stream back to itself//(in this case) appling a transformation.
License
MIT