From d70a475b6e873daff9ea38016c0b1830045e1d6a Mon Sep 17 00:00:00 2001 From: Borewit Date: Wed, 29 Jan 2025 20:06:55 +0100 Subject: [PATCH] Fix close `ReadStreamTokenizer` --- lib/ReadStreamTokenizer.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/ReadStreamTokenizer.ts b/lib/ReadStreamTokenizer.ts index 80c87593..ea505a2c 100644 --- a/lib/ReadStreamTokenizer.ts +++ b/lib/ReadStreamTokenizer.ts @@ -106,6 +106,10 @@ export class ReadStreamTokenizer extends AbstractTokenizer { return this.streamReader.abort(); } + public async close(): Promise { + return this.streamReader.close(); + } + supportsRandomAccess(): boolean { return false; }