stream-to-pull-stream
Convert a classic-stream, or a new-stream into a pull-stream
example
var toPull =var pull =
if the node steam is a duplex (i.e. net, ws) then use toPull.duplex(stream, cb?)
duplex
takes an optional callback in the same way that sink
does.
License
MIT