Tag: await

  • IAsyncEnumerable: Think of It As an IAsyncIteratable

    Starting in C# 8.0, C# shipped with new async enumerable features. The one we’re concerned with, for the intents/purposes/concerns of this blog post, is IAsyncEnumerable<T>. The first thing to understand the differentiation between a standard collection (e.g.: IList<T>, IEnumerable<T>, or ICollection<T>) and an async enumerable (e.g.: IAsyncEnumerable<T>) is that an async enumerable isn’t enumerated as…