<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "macOS: 13.0.0 -",
    "tvOS: 16.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Swift",
  "identifier" : "/documentation/Swift/Clock/suspending",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "Swift"
    ],
    "preciseIdentifier" : "s:12_Concurrency5ClockPA2A010SuspendingB0VRszrlE10suspendingAEvpZ"
  },
  "title" : "suspending"
}
-->

# suspending

A clock that measures time that always increments but stops incrementing
while the system is asleep.

```
static var suspending: SuspendingClock { get }
```

## Discussion

```
  try await Task.sleep(until: .now + .seconds(3), clock: .suspending)
```

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)