Unity async / await: Awaitable @Tarodev
Unity async / await: Awaitable  @Tarodev
Uploaded September 2023 | Updated September 2026, 2 weeks ago
In this follow-up video, we explore the Awaitable class introduced in Unity 2023.1, which aims to improve asynchronous programming workflows.

See part 1: youtu.be/WY-mk-ZGAq8

Topics Covered:
1. Learn about the new Awaitable.WaitForSecondsAsync, NextFrameAsync, EndOfFrameAsync & FixedUpdateAsync.
2. Learn about cancellation tokens and simplified workflows with MonoBehaviour's new built-in destroy token.
3. Efficiently switch between main and background threads using Awaitable.MainThreadAsync and Awaitable.BackgroundThreadAsync methods.
4. Manage your long-running tasks with WhenAll
5. WebGL support
6. Backward compatibility for AsyncOperations.

Like the video if it's helpful, and feel free to subscribe for more straightforward Unity tutorials and tech demos.

For questions or comments, please leave them below.


❤️ Become a Tarobro on Patreon: patreon.com/tarodev

=========

🔔 SUBSCRIBE: bit.ly/3eqG1Z6
🗨️ DISCORD: discord.gg/tarodev
✅ MORE TUTORIALS: youtube.com/tarodev

0:00 Intro
0:27 Introducing Awaitable
2:07 Cancellation tokens / destroyCancellationToken
5:20 BackgroundThreadAsync / MainThreadAsync
6:55 Returning Awaitable
7:55 WebGL compatibility
8:34 Legacy support

#Unity #Unity2023 #AsyncAwait #GameDevelopment #Programming #Awaitable #CancellationTokens #ThreadSwapping #webgl
Unity async / await: AwaitableUnity Code Optimization - Do you know them all?DOTWEEN is the BEST Unity asset in the WORLD and Ill fight anybody who disagreesC# Generics - The complete guideHow to make a Homing Missile in Unity with Trajectory Prediction (source included)Floppy, physics-based sprites in UnityAnimate like a ProgrammerYou NEED to know this! - Master debugging in Unity & C#C# Extension MethodsSprite Shadows in Unity - Cast and receive shadows using a SpriteRendererLINQ + Lambda expressions - C# tutorialObject References in Unity - How to Communicate Between Scripts
Tarodev |

Unity async / await: Awaitable

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER