Xuanwo opened a new pull request, #9338: URL: https://github.com/apache/opendal/pull/9338
# Which issue does this PR close? Refs #9334. # Rationale for this change The Node.js binding exposes `gap` on both `ReadOptions` and `ReaderOptions`. Its JSDoc described how Rust’s `Reader::fetch` merges nearby ranges, which implied that setting `gap` could reduce requests through the Node.js API. # What changes are included in this PR? Correct the `gap` comments in the binding source and the generated TypeScript declarations. # Are there any user-facing changes? The JSDoc now explains why `gap` has no effect on these calls. Each `read()` or `readSync()` call reads a single byte range. Readers returned by `reader()` and `readerSync()` read sequentially. # Breaking changes # AI Usage Statement | Harness | Model | Effort | Role | | --- | --- | --- | --- | | Pi | `magpie/codex/gpt-6.2-sol` | max | Implemented the documentation correction. | | Pi | `magpie/codex/gpt-6.2-sol` | high | Independently reviewed the change. | | Pi | `magpie/codex/gpt-6.2-astra` | high | Investigated the Node.js read paths and drafted the PR text. | -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
