Avatar
mealHandle() の間に .get が抜けてる? func eat(mealHandle: Task.Handle<Meal, Error>) { let meal = try await mealHandle() meal.eat() // yum } https://github.com/DougGregor/swift-evolution/blob/structured-concurrency/proposals/nnnn-structured-concurrency.md
This maintains proposals for changes and user-visible enhancements to the Swift Programming Language. - DougGregor/swift-evolution