From bba6fa89be432c220ab34bba8d23e5219c797f97 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Wed, 31 Aug 2022 20:44:47 -0400 Subject: [PATCH] *If the stream is canceled send a message with a cancel property --- src/query/streaming.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/query/streaming.ts b/src/query/streaming.ts index 4035fd9..30fc837 100644 --- a/src/query/streaming.ts +++ b/src/query/streaming.ts @@ -62,6 +62,7 @@ export default class StreamingRpcQuery extends SimpleRpcQuery { } if (this._canceled) { + socket.write(pack({ cancel: true })); finish(); return; }