You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sdk/core/azure_core/CHANGELOG.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,14 +4,21 @@
4
4
5
5
### Features Added
6
6
7
+
- Added `Response::to_raw_response()` function to create a `RawResponse` from cloned data.
7
8
- Added `UrlExt::append_path()`.
9
+
- 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.
8
10
9
11
### Breaking Changes
10
12
13
+
- Added `F: Format` type parameter to `Poller` and `PollerResult`.
14
+
- Added `Format` associated type to `StatusMonitor`.
15
+
- Added `Format::deserialize()` function to `Format` trait.
16
+
- Added `S` type parameter to `xml::from_xml` congruent with `json::from_json()`.
11
17
- Moved deserializers and serializers for optional base64-encoded bytes to `base64::option` module. `base64` module now deserializes or serializes non-optional fields congruent with the `time` module.
12
18
- Removed `constants` module.
13
19
- Removed `CustomHeaders` policy.
14
20
- Removed `ErrorKind::MockFramework`.
21
+
- Removed `Poller::wait()` function. Call `await` on a `Poller` to wait for it to complete and, upon success, return the final model.
15
22
- Removed `xml::read_xml_str()`.
16
23
- Renamed `xml::read_xml()` to `xml::from_xml()` congruent with `json::from_json()`.
/// This example demonstrates using a [`Poller`] to manually poll status for a long-running operation (LRO) to create a certificate with the CertificateClient.
55
+
///
56
+
/// If you want to manually poll status updates, you can use the `Poller` as a stream by calling [`try_next`](futures::TryStreamExt::try_next) on a mutable reference.
57
+
/// The stream will end when the operation completes, and the final status contains information about the completed operation.
0 commit comments