Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
ForEachAsync< TSource >()
[4/8]
static
Task
System.Threading.Tasks.Parallel.ForEachAsync< TSource >
(
IAsyncEnumerable
< TSource >
source
,
ParallelOptions
parallelOptions
,
Func< TSource,
CancellationToken
,
ValueTask
>
body
)
inline
static
Definition at line
1589
of file
Parallel.cs
.
1590
{
1591
if
(
source
==
null
)
1592
{
1593
throw
new
ArgumentNullException(
"source"
);
1594
}
1595
if
(
parallelOptions
==
null
)
1596
{
1597
throw
new
ArgumentNullException(
"parallelOptions"
);
1598
}
1599
if
(body ==
null
)
1600
{
1601
throw
new
ArgumentNullException(
"body"
);
1602
}
1603
return
ForEachAsync
(
source
,
parallelOptions
.EffectiveMaxConcurrencyLevel,
parallelOptions
.EffectiveTaskScheduler,
parallelOptions
.CancellationToken, body);
1604
}
System.Collections.Generic.Dictionary
Definition
Dictionary.cs:14
System.ExceptionArgument.source
@ source
References
System.source
.
System
Threading
Tasks
Parallel
Generated by
1.10.0