[Review] SF-0023: Progress Reporting in Swift Concurrency

Hello everyone,

The Foundation workgroup has reviewed the proposal and the feedback from the review and pitch threads. They would like the following points to be addressed in a follow-up pitch:

  • Multiparent Support: With the strong interest in multiparent progress shown in the pitch and review threads, the author should explore the possibility of incorporating such an API for ProgressReporter.
  • Streaming Progress Observation via AsyncSequence*: The author should evaluate the feasibility of implementing AyncSequence-based observation.
  • Clarification of Rules Regarding Cancellation: The API author should provide clarity on the expected behavior when the task being observed is canceled, as the new ProgressReporter does not support explicit cancellation.

While not considered show-stopping issues for this proposal, the Foundation Work group encourages the API author to discuss some mechanism to simplify totalCount tracking and supporting floaing point progress in Future Directions.

Given the large amount of anticipated change, the Foundation Work Group recommends this proposal to return to pitch stage with the aforementioned updates to allow further feedback from the community.

Thank you all for your feedback on SF-0023 and stay tuned for the new pitch.

Charles
Review Manager

13 Likes

Second pitch here: [Pitch] ProgressManager: Progress Reporting in Swift Concurrency

2 Likes