Generic Type Methodwith
withGroup(resultType:returning:body:)
No overview available.
Availability
- iOS 13.0–15.4 Deprecated
- iPadOS 13.0–15.4 Deprecated
- macOS 10.15–12.3 Deprecated
- Mac Catalyst 15.4–15.4 Deprecated
- tvOS 13.0–15.4 Deprecated
- watchOS 6.0–8.5 Deprecated
- Xcode 11.0–13.3 Deprecated
Technology
- Swift Standard Library Swift標準ライブラリ
Declaration 宣言
static func withGroup<TaskResult , BodyResult >(resultType: TaskResult .Type, returning returnType: BodyResult .Type = BodyResult.self, body: (inout Task
<Success, Failure>.Group
<TaskResult >) async throws -> BodyResult ) async rethrows -> BodyResult where TaskResult : Sendable
Available when
Success
is Never
and Failure
is Never
.
Success
がNever
であるそしてFailure
がNever
である時に利用可能です。