GithubHelp home page GithubHelp logo

Comments (10)

kind-serge avatar kind-serge commented on July 22, 2024

@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.

silkfire avatar silkfire commented on July 22, 2024

@kind-serge Does an implementation of ParallellForEachAsync exist in .NET Core 3.0 or should we keep using your library?

from asyncenumerable.

kind-serge avatar kind-serge commented on July 22, 2024

@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.

Numpsy avatar Numpsy commented on July 22, 2024

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.

kind-serge avatar kind-serge commented on July 22, 2024

@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.

kind-serge avatar kind-serge commented on July 22, 2024

@Numpsy , the new version has been released: https://www.nuget.org/packages/AsyncEnumerator/4.0.0

from asyncenumerable.

Numpsy avatar Numpsy commented on July 22, 2024

Thanks, I'll give it a go.

from asyncenumerable.

Numpsy avatar Numpsy commented on July 22, 2024

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.

kind-serge avatar kind-serge commented on July 22, 2024

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.

Numpsy avatar Numpsy commented on July 22, 2024

Thanks, that seems ok now.

from asyncenumerable.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.