Type MethodConcurrency
withGroup(resultType:returning:body:)
- Deprecated
- iOS 13.0+
- macOS 10.15+
- tvOS 13.0+
- watchOS 6.0+
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