Re: [whatwg/streams] Idiomatic Way to Explicitly Tell an Underlying Transform Stream to Flush to the Sink (#960)

@sebmarkbage could you give a code example of the scenario in question? Is the scenario something like this?

```js
event.respondWith(new Response(someReadableStream.pipeThrough(someBufferingTransform)));
```

And when you say "the source knows that now is a good time to flush to the underlying sink", is "the source" in this example `someReadableStream` or is it the author of the above line of code?

-- 
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/960#issuecomment-436781430

Received on Wednesday, 7 November 2018 21:21:06 UTC