![]() | asyncDoAsyncDoT Method (IListT, ActionT, ParallelLoopState) |
Namespace: WhetStone.Looping
public static ParallelLoopResult AsyncDo<T>( this IList<T> this, Action<T, ParallelLoopState> action )
This simply decorates For(Int32, Int32, ActionInt32).
Each thread is started to independently run over a slice of this. This accesses each member of this via the ItemInt32 operator. If the ItemInt32 operator is particularly slow, consider the Enumerating overloads.