Compiling with [SwiftSetting] = [.enableExperimentalFeature("StrictConcurrency=complete")] produces couple now all too familiar warnings related to concurrency.
Looking at the source code of PrometheusClient as well as other Metrics it seems that most code (if not all) is guarded with a Lock so all public classes could essentially be @unchecked Sendable.
Compiling with
[SwiftSetting] = [.enableExperimentalFeature("StrictConcurrency=complete")]
produces couple now all too familiar warnings related to concurrency.Looking at the source code of
PrometheusClient
as well as otherMetrics
it seems that most code (if not all) is guarded with aLock
so all public classes could essentially be@unchecked Sendable
.I have in my code opted for this...
...to silence compiler and am now testing to see if anything breaks.
Looks like official
Sendable
conformance can be added to the library, correct?