Process ready events.
()
| 176 | } |
| 177 | /** Process ready events. */ |
| 178 | private processEvents(): void { |
| 179 | while (this.buffredBytes >= this.pendingBytes && this.pendingBytes != 0) { |
| 180 | this.onDataReady(); |
| 181 | } |
| 182 | } |
| 183 | /** State machine to handle each request */ |
| 184 | private onDataReady(): void { |
| 185 | switch (this.state) { |
no test coverage detected