better? ```javascript const resp1 = await fetch(url) const resp2 = fetch(url).then(async (response)

better?
const resp1 = await fetch(url)
const resp2 = fetch(url).then(async (response) => { return response.body })
ctx.waitUntil(env.R2.put(key, resp2))
return resp1
const resp1 = await fetch(url)
const resp2 = fetch(url).then(async (response) => { return response.body })
ctx.waitUntil(env.R2.put(key, resp2))
return resp1
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?