- From: Anne van Kesteren <notifications@github.com>
- Date: Wed, 17 Feb 2021 07:49:09 -0800
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 17 February 2021 15:49:26 UTC
@annevk commented on this pull request. > +<p>To <dfn export for=body>fully read</dfn> a <a for=/>body</a> <var>body</var>, given an algorithm +<dfn export for="body/fully read"><var>processBody</var></dfn>, an optional algorithm +<dfn export for="body/fully read"><var>processError</var></dfn>, and an optional null or +<a for=/>global object</a> <dfn export for="body/fully read">taskDestination</dfn> (default null), +run these steps: + +<ol> + <li><p>If <var>taskDestination</var> is null, then set <var>taskDestination</var> to the result of + <a>starting a new parallel queue</a>. + + <li><p>Let <var>promise</var> be the result of <a>fully reading body as promise</a> given + <var>body</var>. + + <li><p>Let <var>fulfilledSteps</var> given a <a>byte sequence</a> <var>bytes</var> be to + <a>queue a fetch task</a> to run <var>processBody</var> given <var>bytes</var>, with + <var>taskDestination</var>. Well, you've been asking for this functionality. What do you need? 😊 I could use some help here. -- 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/1172#discussion_r577723944
Received on Wednesday, 17 February 2021 15:49:26 UTC