Comments (10)
@Numpsy, with the yesterday's official release of NET Core 3 and NET Standard 2.1 this library has been updated as well. Thanks for waiting!
from asyncenumerable.
@kind-serge Does an implementation of ParallellForEachAsync
exist in .NET Core 3.0 or should we keep using your library?
from asyncenumerable.
@silkfire to my best knowledge ParallellForEachAsync
does not exist in the latest .NET BCL and I have no info on whether it will be added or not. Keep using this library for now.
from asyncenumerable.
On a sort of related note - Microsoft have released a Microsoft.Bcl.AsyncInterfaces package that has definitions of IAsyncEnumerable and such for versions of .NET prior to Standard 2.1.
Any thoughts on using ParallellForEachAsync with those definitions?
from asyncenumerable.
@Numpsy , thanks for the info! I was not aware of that package.
Apparently it works for .NET Standard 2.0 only and no lower versions.
It is an easy change, however will have to bump the major version of this library to accommodate these changes.
from asyncenumerable.
@Numpsy , the new version has been released: https://www.nuget.org/packages/AsyncEnumerator/4.0.0
from asyncenumerable.
Thanks, I'll give it a go.
from asyncenumerable.
I tried it in a .Net Standard 2.0 library called from a .Net 4.7.2 application and hit some errors about missing methods, i'm guessing because the library is using the interface definitions from the Microsoft package, but the build for the app is pulling in the .Net 4.5 build of AsyncEnumerator that doesn't contain matching methods?
(The Microsoft.Bcl.AsyncInterfaces package does actually appear to contain a build for .Net 4.6.1 on top of the .Net standard version, so I think the app sees those ok.)
from asyncenumerable.
Seems like a .NET Fx 4.6.1 (and higher) project uses the .NET Fx 4.5 version of the library instead of .NET Std 2.0. I updated the NuGet Package with the .NET Fx 4.6.1 version of this library to be compatible with .NET Std 2.0 projects: https://www.nuget.org/packages/AsyncEnumerator/4.0.1
from asyncenumerable.
Thanks, that seems ok now.
from asyncenumerable.
Related Issues (20)
- Property-based testing HOT 2
- Source coming from multiple threads? HOT 1
- yield.ReturnAsync inside ParallelForEachAsync HOT 5
- Take slow for large count value regardless of enumerable size HOT 3
- How to break on ParallelForEachAsync HOT 3
- Performance compared to using Task.WhenAll HOT 1
- Does not work on linux systems HOT 1
- Use the interfaces in a .NET Core 3.1 project
- Race condition in ParallelForEachAsync when exceptions are thrown HOT 3
- Change maxdegreeofparallelism during execution?
- the type IAsyncEnumerable exists in both AsyncInterfaces and interactive.async
- asyncEnumerable.ParallelForEachAsync() natively in C# 8
- Accidentally using Dasync's async methods on an EF DbSet blows up the world HOT 3
- How does ParallelForEachAsync compares to TPL's ActionBlock? HOT 1
- Using of GetAwaiter().GetResult() from ValueTask<T> in EnumeratorAdapter
- Question on requirements for build server and ncrunch
- ConfigureAwait(false) in asp.net _core_ not needed
- Using ParallelForEachAsync() for non-CPU-intensive tasks
- ParallelForEachAsync hangs when I update Microsoft.Bcl.AsyncInterfaces from 1.0.0.0 to 5.0.0.0
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from asyncenumerable.