Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ CommonCWAllLogic()

static Task< Task[]> System.Threading.Tasks.TaskFactory< TResult >.CommonCWAllLogic ( Task[] tasksCopy)
inlinestaticpackage

Definition at line 1296 of file TaskFactory.cs.

1297 {
1298 CompleteOnCountdownPromise completeOnCountdownPromise = new CompleteOnCountdownPromise(tasksCopy);
1299 for (int i = 0; i < tasksCopy.Length; i++)
1300 {
1301 if (tasksCopy[i].IsCompleted)
1302 {
1304 }
1305 else
1306 {
1307 tasksCopy[i].AddCompletionAction(completeOnCountdownPromise);
1308 }
1309 }
1311 }

Referenced by System.Threading.Tasks.TaskFactory< TResult >.ContinueWhenAllImpl(), and System.Threading.Tasks.TaskFactory< TResult >.ContinueWhenAllImpl< TAntecedentResult >().