Skip to content

Commit d9c9ca8

Browse files
committed
Merge remote-tracking branch 'origin/main' into rebranch
2 parents a50cb2b + ce0794c commit d9c9ca8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stdlib/public/Concurrency/TaskSleepDuration.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ extension Task where Success == Never, Failure == Never {
154154
///
155155
/// - Parameter duration: The duration to wait.
156156
@available(SwiftStdlib 5.7, *)
157+
@_alwaysEmitIntoClient
157158
public static func sleep(for duration: Duration) async throws {
158159
try await sleep(until: .now + duration, clock: .continuous)
159160
}

0 commit comments

Comments
 (0)