Giter Club home page Giter Club logo

Comments (6)

timcassell avatar timcassell commented on July 18, 2024 4

Shameless plug - probably a non-starter, but I built a Promise library that supports async/await, is much more efficient than RSG (on par with UniTask), and supports old versions of Unity also. I say non-starter because switching from RSG to Proto.Promises would likely break consumers of this library, but maybe worth taking a look (maybe for a v3 update?). 😄

https://github.com/timcassell/ProtoPromise

from restclient.

jdnichollsc avatar jdnichollsc commented on July 18, 2024 1

Hello dude, thanks for reporting this issue

This plugin supports multiple versions of Unity, since .NET Framework 3.5 and async/await syntax is not supported in previous versions, that's why we are using RSG.Promise for management of async operations, any ideas or pull requests to support async/await are really welcome! ❤️

from restclient.

timcassell avatar timcassell commented on July 18, 2024 1

@jdnichollsc Cool. Before I start, I want to understand how the nuget package works. Are you including the Unity dlls in the package? How is the nuget package consumed? Does it work outside of Unity? What differences are there between the nuget package and unity package?

[Edit] I ask because I have some Unity-specific helpers in ProtoPromise that are not included in the nuget package, only in the unity package, so that it can work on other frameworks. I may have to package those helpers as a separate nuget package, depending how your nuget package works.

[Edit2] I went ahead and made that separate package anyway, and updated the core package to work in old Unity versions (notably IL2CPP that had a lot of problems that I had to work around prior to Unity 2021.2).

from restclient.

jdnichollsc avatar jdnichollsc commented on July 18, 2024

@timcassell congrats mate, that's amazing! 💯

from restclient.

timcassell avatar timcassell commented on July 18, 2024

@jdnichollsc Does that mean you're interested in making the switch? I'd be happy to help with the integration if you want.

As a bonus, the Promise source code wouldn't need to be included in the package like you did with RSG, since ProtoPromise is on the asset store and nuget, so it could just be listed as a dependency instead.

from restclient.

jdnichollsc avatar jdnichollsc commented on July 18, 2024

@timcassell sure thing, any pull request is really appreciated, thanks in advance for your contribution! ❤️

from restclient.

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.