decord/source/7896_vercelWaitUntil.js
2026-08-24 06:08:38 +00:00

28 lines
638 B
JavaScript

// Module ID: 7896
// Function ID: 7897
// Name: vercelWaitUntil
// Dependencies: [7777]
// Module 7896 (vercelWaitUntil)
import getGlobalSingleton from "getGlobalSingleton" /* 7777 */;
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 = {};
};