Arma
CDCloudflare Developers
•Created by Arma on 1/15/2024 in #workers-help
Can you call context.waitUntil() multiple times?
After handling a request, I have to save something to KV and make a
fetch
call to some other service. The order in which they execute does not matter.
My code looks like this
Will the runtime wait for all the promises passed to context.waitUntil
?
Or will the runtime stop when the first promise resolves?4 replies