← Về thư mục
frontend/src/features/customize/timers.ts
- TimerLease · type · L12-L16 — type TimerLease = { readonly id: number; readonly timeouts: Set>; readonly intervals: Set>; };
- createTimerLease · function · L21-L29 — function createTimerLease(): TimerLease
- isLeaseLive · function · L31-L33 — function isLeaseLive(lease: TimerLease): boolean
- scheduleTimeout · function · L35-L48 — function scheduleTimeout( lease: TimerLease, fn: () => void, ms: number, ): ReturnType | 0
- scheduleInterval · function · L50-L66 — function scheduleInterval( lease: TimerLease, fn: () => void, ms: number, ): ReturnType | 0
- clearLeaseTimeout · function · L68-L75 — function clearLeaseTimeout( lease: TimerLease, handle: ReturnType | 0, ): void
- disposeTimerLease · function · L77-L83 — function disposeTimerLease(lease: TimerLease): void
- liveLeaseCount · function · L85-L87 — function liveLeaseCount(): number
- pendingTimerCount · function · L89-L93 — function pendingTimerCount(): number
- resetTimerLeases · function · L96-L98 — function resetTimerLeases(): void