Return Value 戻り値
The value returned by the next child task that completes, or nil
if there are no remaining child tasks,
Availability
Technology
mutating func next() async throws -> ThrowingTaskGroup
<ChildTaskResult , Failure>.Iterator
.Element
?
The value returned by the next child task that completes, or nil
if there are no remaining child tasks,
The elements returned from this method appear in the order that the tasks completed, not in the order that those tasks were added to the task group.
このメソッドから返される要素それらは、タスクそれらが完了した順番に現れます、それらタスクがタスクグループに加えられた順番にではなく。
After this method returns nil
, this iterator is guaranteed to never produce more values.
For more information about the iteration order and semantics, see Throwing
反復順序と意味論についてのさらなる情報として、Throwing
を見てください。