26 lines
599 B
JavaScript
26 lines
599 B
JavaScript
// Module ID: 6485
|
|
// Function ID: 6486
|
|
// Name: vercelWaitUntil
|
|
// Dependencies: [6366]
|
|
|
|
// Module 6485 (vercelWaitUntil)
|
|
const require = arg1;
|
|
const dependencyMap = arg6;
|
|
arg5.vercelWaitUntil = function vercelWaitUntil(arg0) {
|
|
let obj = require(6366) /* getGlobalSingleton */.GLOBAL_OBJ[Symbol.for(Symbol, "@vercel/request-context")];
|
|
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 = {};
|
|
};
|