Re: [streams] explicity operate on underlying source and sink instead of public methods (#321)

I guess I would recommend creating "Write to sink" algorithms that are associated with the stream.  Then ReadableStream.pipeTo() could say "using destination streams Write to sink algorithm...".

A ReadableByteStream.pipeTo(), however, might say "using destinations Optimized Byte Write To Sink algorithm, if available, or falling back to Write To Sink algorithm, ..."

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/issues/321#issuecomment-91050303

Received on Wednesday, 8 April 2015 22:08:33 UTC