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

◆ WrapPartitionedStream< TKey >() [2/2]

override void System.Linq.Parallel.ReverseQueryOperator< TSource >.WrapPartitionedStream< TKey > ( PartitionedStream< TSource, TKey > inputStream,
IPartitionedStreamRecipient< TSource > recipient,
bool preferStriping,
QuerySettings settings )
inlinepackage

Definition at line 103 of file ReverseQueryOperator.cs.

104 {
105 int partitionCount = inputStream.PartitionCount;
107 for (int i = 0; i < partitionCount; i++)
108 {
109 partitionedStream[i] = new ReverseQueryOperatorEnumerator<TKey>(inputStream[i], settings.CancellationState.MergedCancellationToken);
110 }
112 }

References System.Linq.Parallel.QuerySettings.CancellationState, and System.Linq.Parallel.CancellationState.MergedCancellationToken.