RocketChat/Rocket.Chat

View on GitHub
apps/meteor/client/lib/createReactiveSubscriptionFactory.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function createReactiveSubscriptionFactory has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    (...args: any[]): [subscribe: (onStoreChange: () => void) => () => void, getSnapshot: () => T] => {
        const callbacks = new Set<() => void>();

        let currentValue = computeCurrentValueWith(...args);

Severity: Minor
Found in apps/meteor/client/lib/createReactiveSubscriptionFactory.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status