- Namespace
- Statiq
.Common - Containing Type
- Parallel
Async Extensions
Syntax
public static Task<IEnumerable<TSource>> ParallelWhereAsync<TSource>(this IEnumerable<TSource> items, Func<TSource, Task<bool>> asyncPredicate, CancellationToken cancellationToken = default(CancellationToken))
Type Parameters
Name | Description |
---|---|
TSource |
Parameters
Name | Type | Description |
---|---|---|
items | IEnumerable |
|
asyncPredicate | Func |
|
cancellationToken | CancellationToken |
Return Value
Type | Description |
---|---|
Task |