Giter VIP home page Giter VIP logo

Comments (5)

Tyrrrz avatar Tyrrrz commented on August 27, 2024 1

Are you sure? I can see it's available in .NET Standard 2.0. It's only .NET Framework where it's not supported before 4.6 (but we don't target it anyway).

from cliwrap.

Tyrrrz avatar Tyrrrz commented on August 27, 2024

Hi, I had no idea about this. Sounds like a terrible design oversight to me, I would have never considered that to be the default behavior.

If you want, you're welcome to submit a PR to fix this.

from cliwrap.

georg-jung avatar georg-jung commented on August 27, 2024

I guess (but really don't know) that's due to other defaults when the TCS is creating the Task itself and those make more sense in other cases (i.e. forcing async execution might have some overhead I guess). Probably they noticed the downsides of this default after releasing the API. When setting up a PR I noticed that the option is actually unavailable in NS2.0 (but available in all the other relevant targets). Thus, afaik this is only fixable for the other targets using a compiler condition. Looking further into it this seems to be only relevant for this one use of the TCS.

Now, how WhenAll is implemented and thus if this is relevant is beyond my knowledge. I'll still send the PR for reference (#55) but I'm currently not sure what's the right way to proceed. On one hand, not doing this makes possible future usages of the TCS's task kind of dangerous and would lead to hard to debug situations then. On the other hand merging fixes this for some platforms but keeps others (possibly in the future) broken.

from cliwrap.

georg-jung avatar georg-jung commented on August 27, 2024

Hmm, seems like you're right. Strange. IntelliSense first told me it wouldn't be available, but doesn't tell me anymore now. It compiles fine too. A small test class lib project targeting only NS2.0 plus a unit test using it executes fine too. This supports it too. I'll change the PR. Strange enough, I really don't know how this happened.

from cliwrap.

Tyrrrz avatar Tyrrrz commented on August 27, 2024

No worries ;)

from cliwrap.

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.