Generic Type Method

withGroup(resultType:returning:body:)

No overview available.

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. SuccessNeverであるそしてFailureNeverである時に利用可能です。