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

[Concurrency] Async/await proposal #1219

Merged
merged 51 commits into from
Dec 4, 2020

Conversation

DougGregor
Copy link
Member

No description provided.

DougGregor and others added 30 commits October 23, 2020 16:35
We'll have a separate proposal introducing structured concurrency into
Swift, which will include these discussions. That keeps the individual
proposals more focused.
async/await edits to Motivation & Proposed Solution
Edits to the remainder of async/await proposal
Thanks to Davide De Franceschi for pointing this out
* Add table of contents.
* Fix errors and typos.
Add cross reference to structured concurrency
* Remove table of contents.
* Update forums link.
* Update forums link.
* Call `completionBlock` in all `Result.failure` cases.
* Use problem numbers in method names.
The proposal defines suspension points as places where execution definitely suspends. However, throughout the proposal, "suspension point" is used more generally to include places that may introduce a suspension point. I tried to audit uses of "suspension point" and include the word "potential" when applicable.
@airspeedswift airspeedswift merged commit d7a0fea into swiftlang:main Dec 4, 2020
@DougGregor DougGregor deleted the async-await branch December 4, 2020 05:11
@DougGregor DougGregor restored the async-await branch December 4, 2020 05:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
8 participants