---
title: suspending
framework: swift
role: symbol
role_heading: Type Property
path: swift/clock/suspending
---

# suspending

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

## Declaration

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

## Discussion

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