Skip to content

Commit

Permalink
fetch: pullAlgorithm passes the async function through
Browse files Browse the repository at this point in the history
  • Loading branch information
Uzlopak committed Sep 13, 2024
1 parent c773728 commit fb96c86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/web/fetch/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1889,8 +1889,8 @@ async function httpNetworkFetch (

// 11. Let pullAlgorithm be an action that resumes the ongoing fetch
// if it is suspended.
const pullAlgorithm = async () => {
await fetchParams.controller.resume()
const pullAlgorithm = () => {
return fetchParams.controller.resume()
}

// 12. Let cancelAlgorithm be an algorithm that aborts fetchParams’s
Expand Down

0 comments on commit fb96c86

Please sign in to comment.