pasalino/fp-redux-websocket

View on GitHub
src/index.js

Summary

Maintainability
A
0 mins
Test Coverage

Function createFPWebSocketMiddleware has 140 lines of code (exceeds 25 allowed). Consider refactoring.
Wontfix

export const createFPWebSocketMiddleware = (options: Options = {}): Function => {
  const websocketOptions: Options = Object.assign({}, defaultProps, options);
  let webSocketList: Array<WebSocket> = [];
  let webSocketTimeoutList: TimeoutList = {};
  const closedByUser: Array<string> = [];
Severity: Major
Found in src/index.js - About 5 hrs to fix

    There are no issues that match your filters.

    Category
    Status