From a64b60cdcc766a4f2c2b15db0380e4e9c5c76a6a Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Thu, 5 Sep 2024 11:10:34 -0700 Subject: [PATCH] chore: define asyncDispose in synchronizedTee --- packages/internal/src/utils.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/internal/src/utils.js b/packages/internal/src/utils.js index ed82db385b64..f343bbb53c7f 100644 --- a/packages/internal/src/utils.js +++ b/packages/internal/src/utils.js @@ -269,6 +269,10 @@ export const synchronizedTee = (sourceStream, readerCount) => { [Symbol.asyncIterator]() { return reader; }, + // eslint-disable-next-line no-restricted-globals + [Symbol.asyncDispose]() { + throw Error('asyncDispose not implemented.'); + }, }); return reader; });