Skip to content

Conversation

@jckarter
Copy link
Collaborator

This is based off of https://github.com/DougGregor/swift-evolution/tree/structured-concurrency because the async let proposal depends on and has links to the main structured concurrency proposal.

through the parent scope. For instance, we can farm out three independent
subtasks of a dinner recipe to run concurrently like so:

```swift
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe add in the following for the full picture in the proposal...?

func chopVegetables() async throws -> [Vegetable] { ... }
func marinateMeat() async -> Meat { ... }
func preheatOven(temperature: Double) async throws -> Oven { ... }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants