Avatar
Clock プロトコルは reasync ある前提なので、そろそろ何か動きがあるのかなーと(勝手に)思ってます。 public protocol Clock: Sendable { …. func measure(_ work: () async throws -> Void) reasync rethrows -> Duration } https://github.com/apple/swift-evolution/blob/523636b879cd6cab83124abc11060b6b39c3ac21/proposals/0329-clock-instant-date-duration.md#clock (edited)
This maintains proposals for changes and user-visible enhancements to the Swift Programming Language. - swift-evolution/0329-clock-instant-date-duration.md at 523636b879cd6cab83124abc11060b6b39c3ac...