We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
With Xcode 15.3, I get this warning on the load() method.
load()
Instance methods of non-Sendable types cannot be marked as '@sendable'; this is an error in Swift 6
The text was updated successfully, but these errors were encountered:
I think you can simplely change the usage to content(phase) .task(id: urlRequest) { await load() } And then remove @sendable, warning would be gone.
content(phase) .task(id: urlRequest) { await load() }
Sorry, something went wrong.
That solved the warning, and my code seems to work all right!
Thanks @wyk111wyk 🙌
No branches or pull requests
With Xcode 15.3, I get this warning on the
load()
method.The text was updated successfully, but these errors were encountered: