Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
With the `scheduled` handler, what's the difference between waitUntil and just using async/await? - Cloudflare Developers
CD
Cloudflare Developers
•
14mo ago
•
19 replies
Mitya
With the `scheduled` handler, what's the difference between waitUntil and just using async/await?
Is it necessary to use
waitUntil()
waitUntil()
when I could just use good old async
/await to delay termination of the worker
?
Cloudflare Developers
Join
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,556
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
What's the difference between `--local` & `--test-scheduled` for local development?
CD
Cloudflare Developers / workers-and-pages-help
4y ago
What's the difference between a request and a subrequest?
CD
Cloudflare Developers / workers-and-pages-help
3y ago
Is waituntil() necessary in scheduled cron?
CD
Cloudflare Developers / workers-and-pages-help
2y ago
Missing `waitUntil` option -- what's that?
CD
Cloudflare Developers / workers-and-pages-help
10mo ago