28 lines
638 B
JavaScript
28 lines
638 B
JavaScript
// Module ID: 7717
|
|
// Function ID: 7718
|
|
// Name: vercelWaitUntil
|
|
// Dependencies: [7598]
|
|
|
|
// Module 7717 (vercelWaitUntil)
|
|
import getGlobalSingleton from "getGlobalSingleton" /* 7598 */;
|
|
|
|
require = arg1;
|
|
const dependencyMap = arg6;
|
|
arg5.vercelWaitUntil = function vercelWaitUntil(arg0) {
|
|
let obj = 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 = {};
|
|
};
|