fix(WebDuplexStream): Improved read/write interface and error handling in WebDuplexStream

This commit is contained in:
2024-10-13 20:20:31 +02:00
parent 04c22f73df
commit 7b1d2199e9
4 changed files with 96 additions and 109 deletions

View File

@@ -1,5 +1,13 @@
# Changelog
## 2024-10-13 - 3.1.1 - fix(WebDuplexStream)
Improved read/write interface and error handling in WebDuplexStream
- Enhanced the IStreamToolsRead and IStreamToolsWrite interfaces for better Promise handling
- Refined readFunction and writeFunction handling to accommodate asynchronous data processing and error propagation
- Added internal _startReading method to facilitate initial data handling if readFunction is present
- Maintained backward compatibility while ensuring data continuity when no writeFunction is specified
## 2024-10-13 - 3.1.0 - feat(core)
Add support for creating Web ReadableStream from a file