Re: [whatwg/streams] WritableStream feedback ? (#755)

Ok, this is what I was thinking, I was just wondering if someone already addressed this "issue".

In my example, `foo` could be really far in the stack (imagine a `a->b->c->....->z->foo`) and passing every time `getContext` and `writer` could be a pain. `offset` cannot be directly passed because it evolves with the call of `write`. So a valid solution could be to pass an object `{ writer, getOffset }` instead but less cool than having the possibility to extend the writer ;)

I'll let open this issue 1~2 days if somebody else could be interested, and I'll close it after. Thanks for your answer.

-- 
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/755#issuecomment-317370995

Received on Monday, 24 July 2017 09:39:16 UTC