decord/source/modules/app_startup/PostTTIScheduler/SafePostTTIScheduler.tsx
github-actions cd74c1f217 chore: update source for alpha 345.5
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9667_m.js (378 MB)
2026-09-05 10:56:28 +00:00

27 lines
699 B
TypeScript

// Module ID: 7666
// Function ID: 7667
// Name: waitSafelyForPostTTI
// Dependencies: [7667, 2]
// Exports: waitSafelyForPostTTI
// Module 7666 (waitSafelyForPostTTI)
import set from "set" /* 2 */;
const result = set.fileFinishedImporting("modules/app_startup/PostTTIScheduler/SafePostTTIScheduler.tsx");
export const waitSafelyForPostTTI = function waitSafelyForPostTTI(arg0) {
let num = arg0;
if (arg0 === undefined) {
num = 4000;
}
return new Promise((arg0) => {
closure_0 = arg0;
const timeout = setTimeout(() => {
callback();
}, closure_0);
num(closure_1_1[0]).schedulePostTTIEvent(() => {
clearTimeout(closure_1);
callback();
});
});
};