The review of SE-0469: Task Naming ran from March 13 to March 27. The Language Steering Group has decided that the proposal is accepted with modifications.
The review feedback was positive, with some discussion of use cases beyond debugging, and constructive feedback about the availability of the new task creation APIs. Requiring latest Swift runtime availability for the task creation APIs such as Task.init
that accept the name
parameter makes it difficult to write code that can run on platforms with older versions of the Swift runtime, leading to significant code duplication. Instead, the task creation APIs do not need to be gated behind availability (beyond the minimum runtime requirement for concurrency itself), allowing tasks to be created with names, and only the new name
property will be gated behind the latest Swift runtime availability. The documentation for all task creation methods should also be updated to note the runtime dependency on the task name.
Because this change had sufficient discussion in the review thread, the Language Steering Group is comfortable accepting that modification without further review.
Thank you to everyone who participated in the pitch and proposal reviews; your contributions help make Swift a better language.
Holly Borla
Review Manager