Skip to content

Conversation

@AndrewHoos
Copy link
Contributor

Reduce usage of callback and dispatch methods in favor of async/await

Motivation:

Adopt native async/await in more places

Modifications:

Remove unused callback APIs
Remove unneeded withChecked*Continuation wrappers
Use async/await in more tests

Result:

Fewer callbacks and async wrappers and more native async/await

@plemarquand
Copy link
Contributor

@swift-ci please test

@AndrewHoos AndrewHoos force-pushed the moreAsync branch 2 times, most recently from d04eac4 to f46f956 Compare May 29, 2025 22:52
@AndrewHoos
Copy link
Contributor Author

@swift-ci test

@AndrewHoos
Copy link
Contributor Author

@swift-ci test macOS

@plemarquand
Copy link
Contributor

@swift-ci test windows

observabilityScope: ObservabilityScope,
delegateQueue: DispatchQueue,
callbackQueue: DispatchQueue
delegateQueue: DispatchQueue
Copy link
Contributor

Choose a reason for hiding this comment

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

#8721 should refactor this so lookup is all async.

@AndrewHoos AndrewHoos enabled auto-merge (squash) May 30, 2025 13:36
@AndrewHoos
Copy link
Contributor Author

@swift-ci test

1 similar comment
@AndrewHoos
Copy link
Contributor Author

@swift-ci test

@AndrewHoos
Copy link
Contributor Author

@swift-ci test

@plemarquand
Copy link
Contributor

@swift-ci please test

1 similar comment
@plemarquand
Copy link
Contributor

@swift-ci please test

Remove unused callback API Remove unneeded withChecked*Continuation wrappers Use async/await in more tests Remove a usage of DispatchGroup in tests Remove unused callback queues from async methods Removed unused callback methods Moved workspace and plugins to async/await
@plemarquand
Copy link
Contributor

@swift-ci please test

@plemarquand
Copy link
Contributor

@swift-ci test

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

Labels

None yet

2 participants