hadashiA / VContainer

The extra fast, minimum code size, GC-free DI (Dependency Injection) library running on Unity Game Engine.
https://vcontainer.hadashikick.jp
MIT License
1.92k stars 167 forks source link

Make IAsyncStartable available on Unity 2021.3 using System.Threading.Tasks.Task #679

Closed left- closed 3 months ago

left- commented 4 months ago

This PR changes IAsyncStartable to support UniTask, .NET Task, and Awaitable.

It makes async startable available to projects running on current Unity LTS that cannot use UniTask (e.g., due to legacy reasons).

It also adds a new entry point test to IAsyncStartable and fixes a bug in which tasks throw exceptions before executing a continuation.

vercel[bot] commented 4 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
vcontainer ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 6, 2024 10:21am
hadashiA commented 4 months ago

Looks good. Thanks !