Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 7 commits into from
Jun 16, 2024

Conversation

left-
Copy link
Contributor

@left- left- commented Jun 6, 2024

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.

Copy link

vercel bot commented Jun 6, 2024

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
Copy link
Owner

hadashiA commented Jun 8, 2024

Looks good. Thanks !

@hadashiA hadashiA merged commit 5ec983c into hadashiA:master Jun 16, 2024
3 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants