()
| 1015 | } |
| 1016 | |
| 1017 | function resumeWebSocket() { |
| 1018 | if (!pausable || !paused) return |
| 1019 | ws.resume() |
| 1020 | paused = false |
| 1021 | } |
| 1022 | |
| 1023 | function takeBuffer(): NonEmptyReadonlyArray<Uint8Array | string> { |
| 1024 | const chunk = buffer |
no test coverage detected