Generic Functionasync
asyncDetached(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 asyncDetached<T>(priority: TaskPriority
? = nil, operation: @escaping @Sendable () async -> T) -> Task
<T, Never
> where T : Sendable