decord/source/__polyfill/07xxx/module_7025.js
github-actions e510164e6b chore: update source for alpha 346.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4759.js (118.4 MB)
2026-09-10 05:38:07 +00:00

21 lines
416 B
JavaScript

// Module ID: 7025
// Function ID: 7026
// Dependencies: []
// Exports: throttle
// Module 7025
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);
}
};
}