Skip to content

Commit d5ae3b0

Browse files
committed
update availability
1 parent bc324ac commit d5ae3b0

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

Proposals/0023-progress-manager.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ overall.addChild(subprogressThree, withPendingUnitCount: 1)
501501

502502
```swift
503503
/// An object that conveys ongoing progress to the user for a specified task.
504-
@available(FoundationPreview 6.2.3, *)
504+
@available(FoundationPreview 6.3, *)
505505
@Observable public final class ProgressManager : Sendable, Hashable, Equatable, CustomStringConvertible, CustomDebugStringConvertible {
506506

507507
/// The total units of work.
@@ -570,7 +570,7 @@ You call `ProgressManager`'s `subprogress(assigningCount:)` to create a `Subprog
570570
The callee will consume `Subprogress` and get the `ProgressManager` by calling `start(totalCount:)`. That `ProgressManager` is used for the function's own progress updates.
571571

572572
```swift
573-
@available(FoundationPreview 6.2.3, *)
573+
@available(FoundationPreview 6.3, *)
574574
/// Subprogress is used to establish parent-child relationship between two instances of `ProgressManager`.
575575
///
576576
/// Subprogress is returned from a call to `subprogress(assigningCount:)` by a parent ProgressManager.
@@ -599,7 +599,7 @@ public struct Subprogress: ~Copyable, Sendable {
599599
This list of allowed (Value, Summary) pairs may be expanded in the future. Based on pre-existing use cases of additional properties on `Progress`, we believe that the currently allowed (Value, Summary) pairs should suffice for most use cases.
600600

601601
```swift
602-
@available(FoundationPreview 6.2.3, *)
602+
@available(FoundationPreview 6.3, *)
603603
extension ProgressManager {
604604

605605
/// A type that conveys additional task-specific information on progress.
@@ -699,7 +699,7 @@ We pre-declare some of these additional properties that are commonly desired in
699699
If you would like to report additional metadata or properties that are not part of the pre-declared additional properties, you can declare additional properties into `ProgressManager.Properties`, similar to how the pre-declared additional properties are declared. These additional properties can only have `Value` - `Summary` pairs that are either `Int` - `Int`, `Double` - `Double`, `String?` - `[String?]`, `URL?` - `[URL?]`, or `UInt64` - `[UInt64]`.
700700

701701
```swift
702-
@available(FoundationPreview 6.2.3, *)
702+
@available(FoundationPreview 6.3, *)
703703
extension ProgressManager {
704704

705705
public struct Properties {
@@ -842,7 +842,7 @@ extension ProgressManager {
842842
`ProgressManager` contains a method that reads and writes additional properties on a single `ProgressManager`.
843843

844844
```swift
845-
@available(FoundationPreview 6.2.3, *)
845+
@available(FoundationPreview 6.3, *)
846846
extension ProgressManager {
847847

848848
/// Accesses or mutates any properties that convey additional information about progress.
@@ -855,7 +855,7 @@ extension ProgressManager {
855855
`ProgressManager` contains a struct `Values` that uses `@dynamicMemberLookup` to access or mutate, at runtime, custom `ProgressManager.Property` types that you may declare. `Values` is only accessed or mutated from within the `withProperties` closure.
856856

857857
```swift
858-
@available(FoundationPreview 6.2.3, *)
858+
@available(FoundationPreview 6.3, *)
859859
extension ProgressManager {
860860

861861
/// A container that holds values for properties that convey information about progress.
@@ -936,7 +936,7 @@ extension ProgressManager {
936936
`ProgressManager` contains methods that summarize additional properties of across a subtree rooted by the `ProgressManager` they are called from.
937937

938938
```swift
939-
@available(FoundationPreview 6.2.3, *)
939+
@available(FoundationPreview 6.3, *)
940940
extension ProgressManager {
941941

942942
/// Returns a summary for a custom integer property across the progress subtree.
@@ -1016,7 +1016,7 @@ extension ProgressManager {
10161016
`ProgressReporter` is a read-only instance of its underlying `ProgressManager`. It is also used as an adapter to add a `ProgressManager` as a child to more than one parent `ProgressManager` by calling the `assign(count:to:)` method on a parent `ProgressManager`.
10171017

10181018
```swift
1019-
@available(FoundationPreview 6.2.3, *)
1019+
@available(FoundationPreview 6.3, *)
10201020
/// ProgressReporter is used to observe progress updates from a `ProgressManager`. It may also be used to incorporate those updates into another `ProgressManager`.
10211021
///
10221022
/// It is read-only and can be added as a child of another ProgressManager.
@@ -1162,7 +1162,7 @@ To add an instance of `Foundation.Progress` as a child to an instance of `Progre
11621162
>The choice of naming the interop method as `subprogress(assigningCount: to:)` is to keep the syntax consistent with the method used to add a `ProgressManager` instance to the progress tree using this new API, `subprogress(assigningCount:)`.
11631163
11641164
```swift
1165-
@available(FoundationPreview 6.2.3, *)
1165+
@available(FoundationPreview 6.3, *)
11661166
extension ProgressManager {
11671167
/// Adds a Foundation's `Progress` instance as a child which constitutes a certain `count` of `self`'s `totalCount`.
11681168
///
@@ -1180,7 +1180,7 @@ To add an instance of `ProgressManager` as a child to an instance of the existin
11801180
>The choice of naming the interop methods as `makeChild(withPendingUnitCount:)` and `addChild(_:withPendingUnitCount` is to keep the syntax consistent with the method used to add a `Foundation.Progress` instance as a child to another `Foundation.Progress`.
11811181
11821182
```swift
1183-
@available(FoundationPreview 6.2.3, *)
1183+
@available(FoundationPreview 6.3, *)
11841184
extension Progress {
11851185
/// Returns a Subprogress which can be passed to any method that reports progress
11861186
/// and can be initialized into a child `ProgressManager` to the `self`.

0 commit comments

Comments
 (0)