You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We introduced the ManagedAsynchronousAccess type to easily create a continuation that is protected by an AsyncSemaphore. This type is currently internal and cannot be reused across the framework ecosystem.
Solution
Move this type to the SpeziFoundation package. ideally, we wait for until Spezi enforces the Swift 6 toolchain as it introduces actor inheritance for async method calls. This way we can have the perform methods inherit actor isolation, executing the action on the same Task and not requiring a global actor annotation.
Additional context
No response
Code of Conduct
I agree to follow this project's Code of Conduct and Contributing Guidelines
The text was updated successfully, but these errors were encountered:
Problem
We introduced the
ManagedAsynchronousAccess
type to easily create a continuation that is protected by anAsyncSemaphore
. This type is currently internal and cannot be reused across the framework ecosystem.Solution
Move this type to the SpeziFoundation package. ideally, we wait for until Spezi enforces the Swift 6 toolchain as it introduces actor inheritance for async method calls. This way we can have the
perform
methods inherit actor isolation, executing the action on the same Task and not requiring a global actor annotation.Additional context
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: