We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Sendable
1 parent 79e5fb4 commit d067b0eCopy full SHA for d067b0e
Sources/CoreMetrics/Metrics.swift
@@ -374,8 +374,8 @@ extension Recorder: CustomStringConvertible {
374
375
// MARK: - Timer
376
377
-public struct TimeUnit: Equatable {
378
- private enum Code: Equatable {
+public struct TimeUnit: Equatable, Sendable {
+ private enum Code: Equatable, Sendable {
379
case nanoseconds
380
case microseconds
381
case milliseconds
Sources/MetricsTestKit/TestMetrics.swift
@@ -43,7 +43,7 @@ public final class TestMetrics: MetricsFactory {
43
public typealias Label = String
44
public typealias Dimensions = String
45
46
- public struct FullKey {
+ public struct FullKey: Sendable {
47
let label: Label
48
let dimensions: [(String, String)]
49
}
0 commit comments