N
Nuxtβ€’3mo ago
Martial

event.waitUntil() or event.context.waitUntil()

Here is the CF doc https://developers.cloudflare.com/workers/runtime-apis/context/ I tried both but none seem to work in local dev server. I couldn't find any answer about it searching on the discord. Do you have an idea ?
Cloudflare Docs
Context (ctx) | Cloudflare Workers docs
The Context API in Cloudflare Workers, including waitUntil and passThroughOnException.
2 Replies
harlan
harlanβ€’3mo ago
GitHub
feat: event.waitUntil with cloudflare integration by pi0 Β· Pull R...
πŸ”— Linked issue ❓ Type of change πŸ“– Documentation (updates to the documentation or readme) 🐞 Bug fix (a non-breaking change that fixes an issue) πŸ‘Œ Enhancement (improving an existing functionali...
harlan
harlanβ€’3mo ago
you can inspect event.context.nitro._waitUntilPromises to debug
Want results from more Discord servers?
Add your server