- From: Jimmy Wärting <notifications@github.com>
- Date: Sun, 12 Jan 2020 10:18:05 -0800
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Sunday, 12 January 2020 18:18:07 UTC
> I just realised that > ```js > ReadableStream.from([in]).pipeTo(cs.writable); > ``` That's not that far off from ```js new Response(in).body.pipeTo(cs.writable); ``` ...exacpt that Response can't handle iterators but it can handle a lot of other things like strings, blobs, blob, typed arrays... and you can only get a byte stream back -- 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/1018#issuecomment-573442053
Received on Sunday, 12 January 2020 18:18:07 UTC