Skip to content

Remove temp_await from Snippets #7848

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

Merged
merged 2 commits into from
Aug 2, 2024
Merged

Remove temp_await from Snippets #7848

merged 2 commits into from
Aug 2, 2024

Conversation

AndrewHoos
Copy link
Contributor

Remove temp_await from Snippets

Motivation:

temp_await is unsafe and it would be better to use true async methods

Modifications:

Remove usages of temp_await from Snippets

Result:

Safer more modern Swift code

@AndrewHoos
Copy link
Contributor Author

@swift-ci test

@AndrewHoos AndrewHoos changed the title Deprecate temp_await [Part 4] Remove temp_await [Part 4] Aug 1, 2024
@AndrewHoos AndrewHoos changed the title Remove temp_await [Part 4] Remove temp_await [part 4] Aug 1, 2024
@AndrewHoos AndrewHoos force-pushed the deprecateTempAwait4 branch from 4ea9d85 to d0c5ae1 Compare August 2, 2024 14:22
@AndrewHoos AndrewHoos force-pushed the deprecateTempAwait4 branch from d0c5ae1 to 86293ca Compare August 2, 2024 14:41
Copy link
Contributor

@MaxDesiatov MaxDesiatov left a comment

Choose a reason for hiding this comment

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

Thanks!

@MaxDesiatov MaxDesiatov changed the title Remove temp_await [part 4] Remove temp_await from Snippets Aug 2, 2024
@MaxDesiatov
Copy link
Contributor

@swift-ci test

@AndrewHoos AndrewHoos force-pushed the deprecateTempAwait4 branch from 86293ca to 5e3a05f Compare August 2, 2024 15:27
@MaxDesiatov
Copy link
Contributor

@swift-ci test

@MaxDesiatov
Copy link
Contributor

@swift-ci test windows

@MaxDesiatov MaxDesiatov enabled auto-merge (squash) August 2, 2024 18:19
@MaxDesiatov MaxDesiatov merged commit 1284494 into main Aug 2, 2024
5 checks passed
@MaxDesiatov MaxDesiatov deleted the deprecateTempAwait4 branch August 2, 2024 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants