OpenHPS/openhps-core

View on GitHub
src/nodes/SinkNode.ts

Summary

Maintainability
A
1 hr
Test Coverage

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

    public push(data: In | In[], options?: PushOptions): Promise<void> {
        return new Promise<void>((resolve, reject) => {
            if (data === null || data === undefined) {
                return reject();
            }
Severity: Minor
Found in src/nodes/SinkNode.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status