decord/source/994_vercelWaitUntil.js
2026-07-30 10:14:41 +00:00

29 lines
738 B
JavaScript

// Module ID: 994
// Function ID: 995
// Name: vercelWaitUntil
// Dependencies: [821]
// Module 994 (vercelWaitUntil)
const require = arg1;
const dependencyMap = arg6;
Object.defineProperty(arg5, Symbol.toStringTag, { value: "Module" });
arg5.vercelWaitUntil = function vercelWaitUntil(arg0) {
if (typeof globalThis.EdgeRuntime !== "tee") {
const _Symbol = Symbol;
const tmp7 = require(821).GLOBAL_OBJ[Symbol.for(Symbol, "@vercel/request-context")];
let value;
if (tmp7 != null) {
const get = tmp7.get;
if (get != null) {
value = get();
}
}
let waitUntil;
if (value != null) {
waitUntil = value.waitUntil;
}
if (waitUntil) {
value.waitUntil(arg0);
}
}
};