// Metro module 5952 (f5953). import { schedulePostTTIEvent } from "./PostTTIScheduler"; export function waitSafelyForPostTTI(r3 = 4000) { let c15319_0 = r3; return new Promise((c25659_0) => { let c25659_1 = setTimeout(() => { c25659_0(); }, c15319_0); schedulePostTTIEvent(() => { clearTimeout(c25659_1); c25659_0(); }); }); }