Skip to content

Commit d25eba2

Browse files
authored
Merge pull request #79299 from glessard/rdar144616619-fix-priority-escalation-availability-some-more
[concurrency] fix availabilities some more
2 parents eb7706d + 6b90664 commit d25eba2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

stdlib/public/Concurrency/Task+PriorityEscalation.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import Swift
1515

1616
// ==== Task Priority Escalation -----------------------------------------------
1717

18+
@available(SwiftStdlib 6.2, *)
1819
extension Task {
1920
/// Escalate the task `priority` of the passed in task to the `newPriority`.
2021
///
@@ -47,6 +48,7 @@ extension Task {
4748
}
4849
}
4950

51+
@available(SwiftStdlib 6.2, *)
5052
extension UnsafeCurrentTask {
5153
/// Escalate the task `priority` of the passed in task to the `newPriority`.
5254
///

0 commit comments

Comments
 (0)