Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: update
MultiplyStream
to accept ReadableWritablePair
The `MultiplyStream` class and its associated tests have been updated to accept a `ReadableWritablePair` object instead of a direct `WritableStream`. This modification allows for more flexibility and aligns with common patterns in readable and writable stream manipulations. The change entails adjusting both the constructor's input type and the way writers are instantiated within the `MultiplyStream` class. Consequently, this enhances the class's usability by supporting scenarios that may involve additional stream-related features or requirements encapsulated within a `ReadableWritablePair`. The test updates demonstrate this new capability by adjusting the input format accordingly, ensuring continued compatibility and functionality.
- Loading branch information