Skip to content

Support strict concurrency #10

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

CarlosDelaMoraFavor
Copy link

This work is a draft of what is needed to support strict concurrency. The main chances that may be of concern is making Store to be @MainActor. That forces SwiftDataStore, NSCacheStore and DictionaryStore all to be isolated to the @MainActor

  • Require swift 6.0 for the swiftLanguageModes
  • Make QueryID, Variables and Values all conform to Sendable
  • Make AnySubscriber: @unchecked Sendable ( We may want to create a Subscriber that is Sendable)

This is a draft, the tests haven't been fixed.

@CarlosDelaMoraFavor CarlosDelaMoraFavor marked this pull request as draft December 12, 2024 18:31
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant