Avatar
omochimetaru 9/28/2022 8:34 AM
https://github.com/apple/swift/pull/40609/files#diff-c98f1c7fa6a243da8b061282d3314e1d51d6a84ffdecabc1835132d3ac56cd17 @available(SwiftStdlib 5.7, *) public protocol Clock: Sendable { associatedtype Instant: InstantProtocol var now: Instant { get } var minimumResolution: Instant.Duration { get } func sleep(until deadline: Instant, tolerance: Instant.Duration?) async throws }