func next() -> ChildTaskResult?
var isEmpty : Bool
func waitForAll ()
Availability
Technology
mutating func nextResult() async -> Result
<ChildTaskResult , Failure>?
A Result
value containing the value that the child task returned, or a Result
value containing the error that the child task threw.
子タスクが返した値を含んでいるResult
値、または子タスクがスローしたエラーを含んでいるResult
値。
The values returned by successive calls to this method appear in the order that the tasks completed, not in the order that those tasks were added to the task group. For example: このメソッドへの連続した呼び出しによって返される値それらは、タスクそれらが完了した順に現れます、タスクがタスクグループに加えられた順にではなく。例えば:
If the next child task throws an error and you propagate that error from this method out of the body of a call to the Throwing
method, then all remaining child tasks in that group are implicitly canceled.
func next() -> ChildTaskResult?
var isEmpty : Bool
func waitForAll ()
next()