Replies: 1 comment 5 replies
-
Sure that makes perfect sense. Are you interested in contributing a PR for this? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Many of the types in swift-toolkit are stateless structs and are therefore inherently
Sendable
but Swift does not infer this, leading to warnings or the need to use@preconcurrency import Readium...
. For example,Locator
,Publication.Profile
,Manifest
,Metadata
,Link
, and perhaps many other structs, are immutable but are not markedSendable
. What do you think of addingSendable
conformance as much as possible to obviate the need for@preconcurrency
?Beta Was this translation helpful? Give feedback.
All reactions