XYOracleNetwork/sdk-core-nodejs

View on GitHub
src/network/tcp/xyo-tcp-pipe.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function waitForMessage has 41 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  private waitForMessage(): Promise<Buffer> {
    return new Promise((resolve, reject) => {
      let hasResumed = false
      let waitSize: number
      let currentSize = 0
Severity: Minor
Found in src/network/tcp/xyo-tcp-pipe.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status