We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
DispatchTimeInterval
Sendable
1 parent a5167e2 commit 29ebbaaCopy full SHA for 29ebbaa
src/swift/Time.swift
@@ -165,7 +165,7 @@ private func toInt64Clamped(_ value: Double) -> Int64 {
165
/// let t1 = DispatchTimeInterval.seconds(Int.max)
166
/// let t2 = DispatchTimeInterval.milliseconds(Int.max)
167
/// let result = t1 == t2 // true
168
-public enum DispatchTimeInterval: Equatable {
+public enum DispatchTimeInterval: Equatable, Sendable {
169
case seconds(Int)
170
case milliseconds(Int)
171
case microseconds(Int)
0 commit comments