* @param {number} readyState * @returns {boolean}
(readyState)
| 10 | * @returns {boolean} |
| 11 | */ |
| 12 | function isConnecting (readyState) { |
| 13 | // If the WebSocket connection is not yet established, and the connection |
| 14 | // is not yet closed, then the WebSocket connection is in the CONNECTING state. |
| 15 | return readyState === states.CONNECTING |
| 16 | } |
| 17 | |
| 18 | /** |
| 19 | * @param {number} readyState |
no outgoing calls
no test coverage detected