Await Extensions View on Asset Store (opens in new tab)

Package details

Latest version
1.1.1
Last updated
First released
Unity version
2021.2.12 or later
Package size
58 KB
Files
24
Favorites
116
Views in the past week
18

Price tracking

Last checked
Tracked since
Lowest recorded
Free on

Keywords

Await Extensions

by Codomaster Studio (opens in new tab)

5.0 / 5 · 67 ratings

Ratings by stars
Number of ratings for each star rating
5 stars 67
4 stars 0
3 stars 0
2 stars 0
1 star 0
Price Free

Get it free on Asset Store (opens in new tab)

Affiliate link · Purchases support this site

Price history

Last 6 months

USD
Price history for Await Extensions, 6 months Current Free; lowest Free; highest Free in this period. $0 Jun Jul Aug Sep Oct Nov

Asset preview

1 / 6

Await Extensions screenshot 1

Await Extensions screenshot 1

About this asset

Await Extension gives you the opportunity to use async/await with many unity types! It incredibly simplifies work with threads and switching between them.

Here what you can await with Await Extensions: 

  • WaitFofEndOfFrame
  • WaitForFixedUpdate
  • WaitForSeconds
  • WaitForSecondsRealtime
  • WaitUntil
  • WaitWhile
  • IEnumerator
  • AssetBundleRequest
  • YieldInstruction
  • CustomYieldInstruction
  • Coroutine
  • AsyncOperation
  • UnityWebRequest 
  • And many other derived classes!

You can just await WaitForBackgroundThread for run your code in background thread, or await WaitForUpdate to runs on main thread!

For old projects (which use coroutines anywhere) this asset provide AsEnumerator and AsCoroutine task extension methods, which convert the task to one of them. This is useful for backward compatibility.

Now you do not need use coroutines directly, just await what you need!

AwaitExtensions is written in pure C# and supports all platforms!

Just read small documentation here and make your life easier!

From the publisher's Asset Store listing.

Compatibility

Render pipelines supported in each Unity version
Unity version Built-in URP HDRP Custom
2021.2.17f1 Compatible Compatible Compatible Compatible
2021.2.12f1 Compatible Compatible Compatible Compatible

As listed on the Asset Store.