Hello chat! I have an inquiry about `ctx.waitUntil`. **I'm trying to use it in my worker to send tw
Hello chat!
I have an inquiry about
I'm trying to use it in my worker to send two
When I'm running the worker locally it can send both
Admittedly, I'm not an expert in async programming, but I don't think I've done wrong since its working locally.
Asking on chance that maybe someone has experience with this.
I have a suspicion that I may have used async/await wrongly.
Posting this message is the last thing I'm doing before bed, so sorry if you'd like to see the actual code; I'll post it later if requested.
Simplified code below...
I have an inquiry about
ctx.waitUntil.I'm trying to use it in my worker to send two
fetches (a callback response and a followup message from Discord's Bot API, for context). When I'm running the worker locally it can send both
fetches just fine, but when its running on the cloud, Discord only receives the first request.Admittedly, I'm not an expert in async programming, but I don't think I've done wrong since its working locally.
Asking on chance that maybe someone has experience with this.
I have a suspicion that I may have used async/await wrongly.
Posting this message is the last thing I'm doing before bed, so sorry if you'd like to see the actual code; I'll post it later if requested.
Simplified code below...
