ALinq.AsyncEnumerable.Dispose C# (CSharp) Method

Dispose() static private method

static private Dispose ( this asyncEnumerator ) : void
asyncEnumerator this
return void
        internal static void Dispose(this IAsyncEnumerator asyncEnumerator)
        {
            var disposable = asyncEnumerator as IDisposable;

            if (disposable != null)
            {
                disposable.Dispose();
            }
        }
    }