.NET API 1,116,304 bytes
AsyncIterator<TSource>
using System.
Runtime.
CompilerServices;
using System.
Threading.
Tasks;
namespace System.
Linq
{
[
System.
Runtime.
CompilerServices.
NullableContext(
1)]
[
System.
Runtime.
CompilerServices.
Nullable(
new byte[] {
0,
1
})]
internal abstract class AsyncIterator<[
System.
Runtime.
CompilerServices.
Nullable(
2)]
TSource> :
AsyncIteratorBase<
TSource>
{
protected TSource _current;
public override TSource Current =>
_current;
public override ValueTask DisposeAsync()
{
_current =
default(
TSource);
return base.
DisposeAsync();
}
}
}