© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Cloudflare DevelopersCD
Cloudflare Developers•3y ago•
8 replies
Justintime

Delay ctx.waitUntil() until fetch() has completed or canceled

Hi! I'm wondering if anyone has a method for delaying the execution of the promise passed into
ctx.waitUntil()
ctx.waitUntil()
until the primary
fetch()
fetch()
has completed or canceled?
Cloudflare Developers banner
Cloudflare DevelopersJoin
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

calling ctx.waitUntil multiple times
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
4mo ago
Using `ctx.waitUntil()` in SvelteKit environment
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
16mo ago
Does ctx.waitUntil work with hyperdrive?
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
2y ago
Suddenly all our ctx.waitUntil workers are failing?
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
10mo ago