Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4825.js (118.4 MB)
24 lines
693 B
TypeScript
24 lines
693 B
TypeScript
// Module ID: 7780
|
|
// Function ID: 7781
|
|
// Name: SafePostTTIScheduler
|
|
// Dependencies: [7781, 2]
|
|
// Exports: waitSafelyForPostTTI
|
|
|
|
// Module 7780 (SafePostTTIScheduler)
|
|
import PostTTIScheduler from "PostTTIScheduler" /* 7781 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const result = size.fileFinishedImporting("modules/app_startup/PostTTIScheduler/SafePostTTIScheduler.tsx");
|
|
|
|
export const waitSafelyForPostTTI = function waitSafelyForPostTTI(arg0) {
|
|
return new Promise((arg0) => {
|
|
closure_0 = arg0;
|
|
const timeout = setTimeout(() => {
|
|
closure_0();
|
|
}, num);
|
|
PostTTIScheduler.schedulePostTTIEvent(() => {
|
|
clearTimeout(closure_1);
|
|
closure_0();
|
|
});
|
|
});
|
|
};
|