decord/source/__polyfill/07xxx/module_7084.js
github-actions 20a21ad13f chore: update source for alpha 346.5
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4791.js (118.4 MB)
2026-09-11 19:12:58 +00:00

21 lines
416 B
JavaScript

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