/opt/canhelp/node_modules/next/dist/esm/server/web
NameSizeModeActions
exports/-0755rm
sandbox/-0755rm
spec-extension/-0755rm
adapter.js178580644editdlrm
adapter.js.map286850644editdlrm
edge-route-module-wrapper.js49500644editdlrm
edge-route-module-wrapper.js.map86350644editdlrm
error.js8510644editdlrm
error.js.map13330644editdlrm
get-edge-preview-props.js5820644editdlrm
get-edge-preview-props.js.map10520644editdlrm
globals.js41240644editdlrm
globals.js.map60870644editdlrm
http.js5570644editdlrm
http.js.map11010644editdlrm
internal-edge-wait-until.js16090644editdlrm
internal-edge-wait-until.js.map28810644editdlrm
next-url.js71380644editdlrm
next-url.js.map132750644editdlrm
types.js4080644editdlrm
types.js.map20710644editdlrm
utils.js56550644editdlrm
utils.js.map83640644editdlrm
web-on-close.js22040644editdlrm
web-on-close.js.map33390644editdlrm
Edit: /opt/canhelp/node_modules/next/dist/esm/server/web/internal-edge-wait-until.js (1609B)
// An internal module to expose the "waitUntil" API to Edge SSR and Edge Route Handler functions. // This is highly experimental and subject to change. // We still need a global key to bypass Webpack's layering of modules. const GLOBAL_KEY = Symbol.for('__next_internal_waitUntil__'); const state = // @ts-ignore globalThis[GLOBAL_KEY] || // @ts-ignore (globalThis[GLOBAL_KEY] = { waitUntilCounter: 0, waitUntilResolve: undefined, waitUntilPromise: null }); // No matter how many concurrent requests are being handled, we want to make sure // that the final promise is only resolved once all of the waitUntil promises have // settled. function resolveOnePromise() { state.waitUntilCounter--; if (state.waitUntilCounter === 0) { state.waitUntilResolve(); state.waitUntilPromise = null; } } export function internal_getCurrentFunctionWaitUntil() { return state.waitUntilPromise; } export function internal_runWithWaitUntil(fn) { const result = fn(); if (result && typeof result === 'object' && 'then' in result && 'finally' in result && typeof result.then === 'function' && typeof result.finally === 'function') { if (!state.waitUntilCounter) { // Create the promise for the next batch of waitUntil calls. state.waitUntilPromise = new Promise((resolve)=>{ state.waitUntilResolve = resolve; }); } state.waitUntilCounter++; return result.finally(()=>{ resolveOnePromise(); }); } return result; } //# sourceMappingURL=internal-edge-wait-until.js.map