```javascript const resp1 = await fetch(url) const my_promise = fetch(url).then(async (response) =>

const resp1 = await fetch(url)
const my_promise = fetch(url).then(async (response) => { env.R2.put(key, response.body) })
ctx.waitUntil(my_promise)
return resp1
Was this page helpful?