Skip to content

Commit d67ad61

Browse files
Update stdlib/public/Concurrency/TaskSleepDuration.swift
Co-authored-by: Ben Rimmington <[email protected]>
1 parent cb24fdc commit d67ad61

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
@@ -179,6 +179,7 @@ extension Task where Success == Never, Failure == Never {
179179
}
180180
@available(SwiftStdlib 5.7, *)
181181
@available(*, unavailable, message: "Unavailable in task-to-thread concurrency model")
182+
@_alwaysEmitIntoClient
182183
public static func sleep<C: Clock>(
183184
for duration: C.Instant.Duration,
184185
tolerance: C.Instant.Duration? = nil,

0 commit comments

Comments
 (0)