Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce a standalone proposal for async let. #50

Open
wants to merge 1 commit into
base: structured-concurrency
Choose a base branch
from

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
2 participants