calling ctx.waitUntil multiple times
According to the document, calling ctx.waitUntil will keep the worker alive for 30s(wall clock) until the given promise resolves.
My question is, if I return a ReadableStream in the fetch event, can I extend the worker life time (wall clock) more than 30s by calling ctx.waitUntil multiple times?
1 Reply
Seems that multiple calls to this function will only extend the life-time by 30s, exactly once. Source:
https://discord.com/channels/595317990191398933/779390076219686943/1435656179781992560