decord/source/__polyfill/07xxx/module_7085.js
github-actions 4f02868c60 chore: update source for alpha 346.4
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4792.js (118.4 MB)
2026-09-11 10:30:06 +00:00

21 lines
416 B
JavaScript

// Module ID: 7085
// Function ID: 7086
// Dependencies: []
// Exports: throttle
// Module 7085
export function throttle(arg0, arg1) {
closure_0 = arg0;
closure_1 = arg1;
return function() {
if (null == timeout) {
const self = this;
closure_0.apply(this, tmp);
const _setTimeout = setTimeout;
timeout = setTimeout(() => {
c2 = undefined;
}, closure_1);
}
};
}