2026-07-30 10:14:41 +00:00
|
|
|
// Module ID: 6485
|
|
|
|
|
// Function ID: 6486
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: vercelWaitUntil
|
2026-07-30 10:14:41 +00:00
|
|
|
// Dependencies: [6366]
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-07-30 10:14:41 +00:00
|
|
|
// Module 6485 (vercelWaitUntil)
|
2026-07-23 10:11:24 +00:00
|
|
|
const require = arg1;
|
|
|
|
|
const dependencyMap = arg6;
|
2026-07-20 16:05:17 +00:00
|
|
|
arg5.vercelWaitUntil = function vercelWaitUntil(arg0) {
|
2026-07-30 10:14:41 +00:00
|
|
|
let obj = require(6366) /* getGlobalSingleton */.GLOBAL_OBJ[Symbol.for(Symbol, "@vercel/request-context")];
|
2026-07-20 16:05:17 +00:00
|
|
|
if (obj) {
|
|
|
|
|
if (obj.get) {
|
|
|
|
|
if (obj.get()) {
|
|
|
|
|
obj = obj.get();
|
|
|
|
|
}
|
|
|
|
|
let waitUntil = obj;
|
|
|
|
|
if (obj) {
|
|
|
|
|
waitUntil = obj.waitUntil;
|
|
|
|
|
}
|
|
|
|
|
if (waitUntil) {
|
|
|
|
|
obj.waitUntil(arg0);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
obj = {};
|
|
|
|
|
};
|