Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
ForEachAsync< TSource >()
[8/8]
static
Task
System.Threading.Tasks.Parallel.ForEachAsync< TSource >
(
IEnumerable
< TSource >
source
,
ParallelOptions
parallelOptions
,
Func< TSource,
CancellationToken
,
ValueTask
>
body
)
inline
static
Definition at line
1479
of file
Parallel.cs
.
1480
{
1481
if
(
source
==
null
)
1482
{
1483
throw
new
ArgumentNullException(
"source"
);
1484
}
1485
if
(
parallelOptions
==
null
)
1486
{
1487
throw
new
ArgumentNullException(
"parallelOptions"
);
1488
}
1489
if
(body ==
null
)
1490
{
1491
throw
new
ArgumentNullException(
"body"
);
1492
}
1493
return
ForEachAsync
(
source
,
parallelOptions
.EffectiveMaxConcurrencyLevel,
parallelOptions
.EffectiveTaskScheduler,
parallelOptions
.CancellationToken, body);
1494
}
System.Collections.Generic.Dictionary
Definition
Dictionary.cs:14
System.ExceptionArgument.source
@ source
References
System.source
.
System
Threading
Tasks
Parallel
Generated by
1.10.0