updated implementation

This commit is contained in:
Anirban Kar
2024-12-16 19:47:18 +05:30
parent 070e911be1
commit 3b8d251a55
6 changed files with 39 additions and 24 deletions

View File

@@ -1,5 +1,5 @@
export default class SwitchableStream extends TransformStream {
_controller: TransformStreamDefaultController | null = null;
private _controller: TransformStreamDefaultController | null = null;
private _currentReader: ReadableStreamDefaultReader | null = null;
private _switches = 0;