File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Sources/FoundationEssentials/ProgressManager Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -19,32 +19,32 @@ import Observation
19
19
@Observable public final class ProgressReporter : Sendable {
20
20
21
21
/// The total units of work.
22
- var totalCount : Int ? {
22
+ public var totalCount : Int ? {
23
23
manager. totalCount
24
24
}
25
25
26
26
/// The completed units of work.
27
27
/// If `self` is indeterminate, the value will be 0.
28
- var completedCount : Int {
28
+ public var completedCount : Int {
29
29
manager. completedCount
30
30
}
31
31
32
32
/// The proportion of work completed.
33
33
/// This takes into account the fraction completed in its children instances if children are present.
34
34
/// If `self` is indeterminate, the value will be 0.
35
- var fractionCompleted : Double {
35
+ public var fractionCompleted : Double {
36
36
manager. fractionCompleted
37
37
}
38
38
39
39
/// The state of initialization of `totalCount`.
40
40
/// If `totalCount` is `nil`, the value will be `true`.
41
- var isIndeterminate : Bool {
41
+ public var isIndeterminate : Bool {
42
42
manager. isIndeterminate
43
43
}
44
44
45
45
/// The state of completion of work.
46
46
/// If `completedCount` >= `totalCount`, the value will be `true`.
47
- var isFinished : Bool {
47
+ public var isFinished : Bool {
48
48
manager. isFinished
49
49
}
50
50
You can’t perform that action at this time.
0 commit comments