Generic Functionasync(priority:
async(priority:operation:)
No overview available.
Availability
- iOS 13.0+
- iPadOS 13.0+
- macOS 10.15+
- Mac Catalyst 15.4–15.4 Deprecated
- tvOS 13.0+
- watchOS 6.0+
- Xcode 11.0–13.3 Deprecated
Technology
- Swift Standard Library Swift標準ライブラリ
Declaration 宣言
@discardableResult func async<T>(priority: TaskPriority
? = nil, operation: @escaping @Sendable () async throws -> T) -> Task
<T, Error
> where T : Sendable