decord/source/utils/callOnce.tsx

26 lines
542 B
TypeScript
Raw Normal View History

// Module ID: 7772
// Function ID: 7773
2026-07-20 16:05:17 +00:00
// Name: callOnce
2026-07-23 10:11:24 +00:00
// Dependencies: [2]
2026-07-20 16:05:17 +00:00
// Exports: callOnce
// Module 7772 (callOnce)
import size from "module_2" /* 2 */;
2026-07-20 16:05:17 +00:00
const result = size.fileFinishedImporting("utils/callOnce.tsx");
2026-08-24 06:08:38 +00:00
export function callOnce(arg0) {
closure_0 = arg0;
2026-08-24 06:08:38 +00:00
c2 = false;
2026-07-29 08:29:29 +00:00
return () => {
2026-07-20 16:05:17 +00:00
const items = [...arguments];
2026-07-23 10:11:24 +00:00
if (!c2) {
c2 = true;
2026-07-20 16:05:17 +00:00
const items1 = [];
HermesBuiltin.arraySpread(items, 0);
2026-08-24 06:08:38 +00:00
closure_1 = HermesBuiltin.apply(items1, undefined);
2026-07-20 16:05:17 +00:00
}
return closure_1;
};
}