Skip to content

Conversation

@plemarquand
Copy link
Contributor

Many of the completion callbacks used in the legacy sync versions of async functions were not marked as Sendable. This produced a warning when they were provided to DispatchQueue.asyncResult, which expects a Sendable callback.

Many of the completion callbacks used in the legacy sync versions of
async functions were not marked as Sendable. This produced a warning
when they were provided to `DispatchQueue.asyncResult`, which expects a
Sendable callback.
@plemarquand plemarquand force-pushed the sendable-async-result-callbacks branch from ccf7ccd to bb5d0be Compare May 22, 2025 17:11
@plemarquand
Copy link
Contributor Author

@swift-ci please test

@plemarquand
Copy link
Contributor Author

@swift-ci test macos

@plemarquand
Copy link
Contributor Author

@swift-ci test windows

@plemarquand plemarquand merged commit 5fe143f into swiftlang:main May 23, 2025
6 checks passed
@plemarquand plemarquand deleted the sendable-async-result-callbacks branch May 23, 2025 18:28
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