OpenHPS/openhps-core

View on GitHub
src/nodes/ProcessingNode.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function _onPush has 38 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private _onPush(frame: In | In[], options?: PushOptions): Promise<void> {
        return new Promise<void>((resolve, reject) => {
            const processPromises: Array<Promise<Out | Out[]>> = [];

            if (Array.isArray(frame)) {
Severity: Minor
Found in src/nodes/ProcessingNode.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status