We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
event.waitUntil
cachedEventHandler
1 parent 312fda1 commit 69b73adCopy full SHA for 69b73ad
1 file changed
src/runtime/internal/cache.ts
@@ -373,6 +373,7 @@ export function defineCachedEventHandler<
373
fetchWithEvent(event, url, fetchOptions as RequestInit, {
374
fetch: globalThis.$fetch as any,
375
});
376
+ event.waitUntil = incomingEvent.waitUntil;
377
event.context = incomingEvent.context;
378
event.context.cache = {
379
options: _opts,
0 commit comments