decord/source/970_vercelWaitUntil.js
2026-07-20 16:05:17 +00:00

23 lines
630 B
JavaScript

// Module ID: 970
// Function ID: 10459
// Name: vercelWaitUntil
// Dependencies: []
// Module 970 (vercelWaitUntil)
Object.defineProperty(arg5, Symbol.toStringTag, { value: "Module" });
arg5.vercelWaitUntil = function vercelWaitUntil(arg0) {
if ("string" === typeof globalThis.EdgeRuntime) {
const _Symbol = Symbol;
const obj = arg1(arg6[0]).GLOBAL_OBJ[Symbol.for(Symbol, "@vercel/request-context")];
let value;
if (null != obj) {
if (null != obj.get) {
value = obj.get();
}
}
if (tmp2) {
value.waitUntil(arg0);
}
const tmp2 = null != value && value.waitUntil;
}
};