Skip to content

Commit 5687e7a

Browse files
committed
Implement Pager resumption even through into_pages
By design, we didn't support resuming `Pager` (`ItemIterator`) but, upon further discussion, decided we can but will resume from the current page until all items on the current page are processed. This also fixes a problem that, because of the design, we didn't pass through resumption to the `PageIterator` at all - it couldn't even resume as a `PageIterator` for subsequent pages.
1 parent c2d5787 commit 5687e7a

File tree

4 files changed

+595
-179
lines changed

4 files changed

+595
-179
lines changed

sdk/core/azure_core/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
### Features Added
66

7+
- Added `ItemIterator::continuation_token()` and `with_continuation_token()` to resume paging items. The current page is restarted until _after_ all items have been iterated.
78
- Added `Response::to_raw_response()` function to create a `RawResponse` from cloned data.
89
- Added `UrlExt::append_path()`.
910
- Implemented `IntoFuture` for a `Poller`. Call `await` on a Poller to get the final model, or `into_stream()` to get a `futures::Stream` to poll the operation manually.
@@ -25,6 +26,8 @@
2526

2627
### Bugs Fixed
2728

29+
- `ItemIterator::into_pages()` now properly supports resuming from the current page until _after_ all items have been iterated.
30+
2831
### Other Changes
2932

3033
## 0.29.1 (2025-10-06)

0 commit comments

Comments
 (0)