We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2783b2 commit 98c33a7Copy full SHA for 98c33a7
stdlib/public/Concurrency/PartialAsyncTask.swift
@@ -75,6 +75,7 @@ extension TaskPriority {
75
/// Convert a job priority to a task priority.
76
///
77
/// Most values are directly interchangeable, but this initializer reserves the right to fail for certain values.
78
+ @available(SwiftStdlib 5.9, *)
79
public init?(_ p: JobPriority) {
80
// currently we always convert, but we could consider mapping over only recognized values etc.
81
self = .init(rawValue: p.rawValue)
0 commit comments