Re: [whatwg/fetch] Editorial: Amend body reading to use no-promise version (PR #1569)

@annevk commented on this pull request.

Sigh, sorry, the rewrite of consume body doesn't work because package data can throw.

_packageSteps_ would have to take a promise as argument that is either resolved or rejected depending on the result of running package data. It ends up being even longer than the original version, but probably still better as at least we're not resolving promises with Infra types?



-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/1569#pullrequestreview-1226059607
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fetch/pull/1569/review/1226059607@github.com>

Received on Wednesday, 21 December 2022 13:14:06 UTC