Skip to content

Commit

Permalink
chore: define asyncDispose in synchronizedTee
Browse files Browse the repository at this point in the history
  • Loading branch information
turadg committed Sep 5, 2024
1 parent 208a760 commit a64b60c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/internal/src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
});
Expand Down

0 comments on commit a64b60c

Please sign in to comment.