Skip to content

chore: Put Sendable to URLSessionDataDelegateProtocol #360

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 1 commit into from
Jun 30, 2025

Conversation

nezhyborets
Copy link
Collaborator

What

Put Sendable into URLSessionDataDelegateProtocol methods that have completion. This wouldn't go against actual delegates as they have it the same:
Screenshot 2025-06-29 at 01 05 32
Screenshot 2025-06-29 at 01 04 56

Why

To fix the warning about passing non-sendable closure

@nezhyborets nezhyborets requested a review from Krivoblotsky June 28, 2025 22:07
@nezhyborets nezhyborets changed the title Put Sendable to URLSessionDataDelegateProtocol chore: Put Sendable to URLSessionDataDelegateProtocol Jun 28, 2025
@nezhyborets nezhyborets merged commit 5074d58 into main Jun 30, 2025
3 checks passed
@nezhyborets nezhyborets deleted the chore/fix-sendable-warning branch June 30, 2025 11:27
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