Re: [whatwg/fetch] Be clearer about how Fetch creates ReadableStreams. (#781)

Hmm yeah I didn't quite get the named arguments thing before. I dunno, this is OK-ish for now... Definitely a big improvement over the previous situation. I think the whole area of how streams interfaces with other specs needs a re-think, but I've been putting that off forever.

Also worth noting that, it seems like the idea of this wrapper, versus just using CreateReadableStream directly, is:

- Omits startAlgorithm
- Uses named arguments so that pullAlgorithm, and cancelAlgorithm become optional
- Allows pullAlgorithm and cancelAlgorithm to return non-promises


-- 
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/fetch/pull/781#issuecomment-411810780

Received on Thursday, 9 August 2018 16:07:20 UTC