29 lines
741 B
JavaScript
29 lines
741 B
JavaScript
// Module ID: 994
|
|
// Function ID: 995
|
|
// Name: vercelWaitUntil
|
|
// Dependencies: [821]
|
|
|
|
// Module 994 (vercelWaitUntil)
|
|
const require = arg1;
|
|
const dependencyMap = arg6;
|
|
Object.defineProperty(arg5, Symbol.toStringTag, { value: "Module" });
|
|
arg5.vercelWaitUntil = function vercelWaitUntil(arg0) {
|
|
if (typeof globalThis.EdgeRuntime === "string") {
|
|
const _Symbol = Symbol;
|
|
const tmp7 = require(821).GLOBAL_OBJ[Symbol.for(Symbol, "@vercel/request-context")];
|
|
let value;
|
|
if (tmp7 != null) {
|
|
const get = tmp7.get;
|
|
if (get != null) {
|
|
value = get();
|
|
}
|
|
}
|
|
let waitUntil;
|
|
if (value != null) {
|
|
waitUntil = value.waitUntil;
|
|
}
|
|
if (waitUntil) {
|
|
value.waitUntil(arg0);
|
|
}
|
|
}
|
|
};
|