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.
1 parent 7a7ebd8 commit 6d09bb0Copy full SHA for 6d09bb0
stdlib/public/Concurrency/Clock.swift
@@ -31,7 +31,7 @@ import Swift
31
/// For more information about specific clocks see `ContinuousClock` and
32
/// `SuspendingClock`.
33
@available(SwiftStdlib 5.7, *)
34
-public protocol Clock: Sendable {
+public protocol Clock<Duration>: Sendable {
35
associatedtype Duration
36
associatedtype Instant: InstantProtocol where Instant.Duration == Duration
37
0 commit comments