Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
MergeExecutor.cs
Go to the documentation of this file.
5
7
8internal sealed class MergeExecutor<TInputOutput> : IEnumerable<TInputOutput>, IEnumerable
9{
11
12 private MergeExecutor()
13 {
14 }
15
45
46 private void Execute()
47 {
48 _mergeHelper.Execute();
49 }
50
55
57 {
58 return _mergeHelper.GetEnumerator();
59 }
60
62 {
63 return _mergeHelper.GetResultsAsArray();
64 }
65
80
90}
IEnumerator< TInputOutput > GetEnumerator()
static AsynchronousChannel< TInputOutput >[] MakeAsynchronousChannels(int partitionCount, ParallelMergeOptions options, IntValueEvent consumerEvent, CancellationToken cancellationToken)
IEnumerator IEnumerable. GetEnumerator()
static SynchronousChannel< TInputOutput >[] MakeSynchronousChannels(int partitionCount)
static MergeExecutor< TInputOutput > Execute< TKey >(PartitionedStream< TInputOutput, TKey > partitions, bool ignoreOutput, ParallelMergeOptions options, TaskScheduler taskScheduler, bool isOrdered, CancellationState cancellationState, int queryId)
IMergeHelper< TInputOutput > _mergeHelper
new IEnumerator< T > GetEnumerator()