```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
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
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?