Skip to content
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

Add @Sendable conformance to KeychainSwift class #186

Open
theoks opened this issue Mar 25, 2024 · 0 comments
Open

Add @Sendable conformance to KeychainSwift class #186

theoks opened this issue Mar 25, 2024 · 0 comments

Comments

@theoks
Copy link

theoks commented Mar 25, 2024

I took a look at the KeychainSwift implementation and it seems (unless I'm missing something) that it's thread safe since it's using a NSLock for synchronization.

This means that it could conform to Sendable, thus making modern concurrency adoption easier.

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

No branches or pull requests

1 participant