26 lines
599 B
JavaScript
26 lines
599 B
JavaScript
// Module ID: 7574
|
|
// Function ID: 7575
|
|
// Name: vercelWaitUntil
|
|
// Dependencies: [7455]
|
|
|
|
// Module 7574 (vercelWaitUntil)
|
|
const require = arg1;
|
|
const dependencyMap = arg6;
|
|
arg5.vercelWaitUntil = function vercelWaitUntil(arg0) {
|
|
let obj = require(7455) /* 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 = {};
|
|
};
|