From 55bf8d53a77e3df39b7aa7ee772d646790ecb1a0 Mon Sep 17 00:00:00 2001 From: mkurczewski Date: Sat, 21 Dec 2024 11:58:44 +0100 Subject: [PATCH] Removed unnecessary _flush method from api device response parser --- .../src/lib/api-device/api-device-response-parser.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/libs/app-serialport/devices/src/lib/api-device/api-device-response-parser.ts b/libs/app-serialport/devices/src/lib/api-device/api-device-response-parser.ts index 2d29431ab9..fa7723b6ea 100644 --- a/libs/app-serialport/devices/src/lib/api-device/api-device-response-parser.ts +++ b/libs/app-serialport/devices/src/lib/api-device/api-device-response-parser.ts @@ -103,11 +103,4 @@ export class ApiDeviceResponseParser extends Transform { } callback() } - - _flush(callback: TransformCallback) { - if (this.isFullResponse()) { - this.sendResponse(this.buffer) - } - callback() - } }