(payload: JsonRpcLiteRequest | JsonRpcLiteNotification | JsonRpcLiteResponse)
| 477 | } |
| 478 | |
| 479 | private writePayload(payload: JsonRpcLiteRequest | JsonRpcLiteNotification | JsonRpcLiteResponse): void { |
| 480 | const serialized = JSON.stringify(payload); |
| 481 | this.process?.stdin.write(`${serialized}\n`); |
| 482 | } |
| 483 | |
| 484 | private resetParserState(): void { |
| 485 | this.buffer = ''; |
no test coverage detected