- From: Dominic Tarr <notifications@github.com>
- Date: Tue, 31 May 2016 17:59:50 -0700
- To: whatwg/streams <streams@noreply.github.com>
- Cc:
- Message-ID: <whatwg/streams/issues/461/222864770@github.com>
thanks!
reading the spec, I see [pipeThrough](https://streams.spec.whatwg.org/#rs-pipe-through)
but I don't understand what you mean by "not reifying" the stream.
I'm not sure whether you where implying `TransformStream.map` in the functional sense of "map",
but there is definite need for a transform to be able to expand and contract the input.
Is the `syncMap` function passed a chunk? I'm talking about something that is passed the preceding readable.
I'd not particularily bothered by actual IO etc, being a "writable" stream, I do think it's simpler if they are {readable, reader} but I'm not gonna labour that. I'm also not against a transform stream that turns into a writable stream when you try to use it like that.
This is similar to the [pipeFrom](https://github.com/whatwg/streams/issues/146)
idea, but instead of explicitly using `pipeFrom`, you'd just use `pipeThrough` and it would detect if it would rather do get the readable.
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/issues/461#issuecomment-222864770
Received on Wednesday, 1 June 2016 01:00:24 UTC