Skip to content

Commit d014e90

Browse files
committed
Update README.md.
1 parent 156d785 commit d014e90

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# AsyncEnumerableExtensions
22

33
> The package is available on NuGet as `CXuesong.AsyncEnumerableExtensions`.
4+
>
5+
> As of May, 2019, there is `IAsyncEnumerable` on .NET Standard 2.1 / .NET Core 3.0. Thus this package uses built-in `IAsyncEnumerable` instead of the one in `Ix.Async` on these supporting platform. Note that prior platform versions will still target to `Ix.Async`.
46
57
Some rudimentary utilities to flavor [`Ix.Async`](https://github.com/Reactive-Extensions/Rx.NET), such as…
68

@@ -26,6 +28,7 @@ public async void NormalGeneratorTest()
2628
finished = true;
2729
}
2830

31+
// Replace ToArray with ToArrayAsync on .NET Core 3.0 / .NET Standard 2.1
2932
var array = await AsyncEnumerableFactory.FromAsyncGenerator<int>(Generator).ToArray();
3033
Assert.True(finished);
3134
Assert.Equal(new[] {10, 20, 30, 40, 50}, array);

0 commit comments

Comments
 (0)