We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24a6938 commit 85dc96cCopy full SHA for 85dc96c
src/ShardingCore/Sharding/Enumerators/StreamMergeAsync/OneAtMostElementStreamMergeAsyncEnumerator.cs
@@ -8,7 +8,7 @@ namespace ShardingCore.Sharding.Enumerators.StreamMergeAsync
8
{
9
internal class OneAtMostElementStreamMergeAsyncEnumerator<T> : IStreamMergeAsyncEnumerator<T>
10
11
- private int _moveIndex = 0;
+ private int _moveIndex = -1;
12
private T _constantElement;
13
14
public OneAtMostElementStreamMergeAsyncEnumerator(IStreamMergeAsyncEnumerator<T> streamMergeAsyncEnumerator)
@@ -79,7 +79,7 @@ public bool HasElement()
79
80
public void Reset()
81
82
- throw new NotImplementedException();
+ _moveIndex = 0;
83
}
84
85
object IEnumerator.Current => Current;
0 commit comments