Introduction to asynchronous programming with Awaitable
Asynchronous programming with the Awaitable classAsynchronous programming allows your code to perform long-running tasks without blocking the main thread. This allows your application to remain responsive and perform other tasks while it waits for an asynchronous task to complete.
Unity supports a simplified asynchronous programming model using the .NET async key word and await operator.
Before reading about asynchronous programming in Unity, make sure you understand the fundamental elements of asynchronous programming in .NET. For important context, refer to Asynchronous programming with async and await and Task asynchronous programming model.
Topic Description Introduction to Awaitable Understand the key features of UnityâsAwaitable
and how it compares to both .NET Task
and iterator-based coroutines. Awaitable completion and continuation Understand how asynchronous code resumes on completion of an awaited task and how this affects the function and performance of your application. Awaitable code example reference Solve common asynchronous programming problems with a reference of Awaitable
code examples. Additional resources
Introduction to asynchronous programming with Awaitable
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4