Pipe is a method to add a Stream to the StreamController. If you have a StreamController object, you add a Stream using Sink. If you have a Stream that you want to add to a StreamController, you add the Stream using Pipe. It is just a matter of perspective and which object it is best to use in your circumstances.
code: https://gist.github.com/dashtodartlan...