• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

worktile / slate-angular / 32069b32-d7ed-429e-b45b-877770d4e8e1

04 Sep 2025 07:26AM UTC coverage: 47.486%. Remained the same
32069b32-d7ed-429e-b45b-877770d4e8e1

push

circleci

pubuzhixing8
build: release 19.1.2

360 of 938 branches covered (38.38%)

Branch coverage included in aggregate %.

934 of 1787 relevant lines covered (52.27%)

44.02 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

7.69
/packages/src/utils/throttle.ts
1
export const createThrottleRAF = () => {
1✔
2
    let timerId: number | null = null;
×
3
    const throttleRAF = (fn: () => void) => {
×
4
        const scheduleFunc = () => {
×
5
            timerId = requestAnimationFrame(() => {
×
6
                timerId = null;
×
7
                fn();
×
8
            });
9
        };
10
        if (timerId !== null) {
×
11
            cancelAnimationFrame(timerId);
×
12
            timerId = null;
×
13
        }
14
        scheduleFunc();
×
15
    };
16
    return throttleRAF;
×
17
};
18

19
export type ThrottleRAF = (fn: () => void) => void;
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc