Task for Unity (Threading) View on Asset Store (opens in new tab)

Package details

Latest version
1.1
Last updated
First released
Unity version
5.0.0 or later
Package size
250 KB
Files
7
Favorites
35
Views in the past week
1

Price tracking

Last checked
Tracked since
Lowest recorded
$11.19 on

Task for Unity (Threading)

by Xefier (opens in new tab)

3.3 / 5 · 3 ratings

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

Buy on Asset Store (opens in new tab)

Affiliate link · Purchases support this site

Price history

Last 6 months

USD
Price history for Task for Unity (Threading), 6 months Current $15.99; lowest $15.99; highest $15.99 in this period. $0 $10 $20 Jun Jul Aug Sep Oct Nov

Asset preview

1 / 11

Task for Unity (Threading) screenshot 1

Task for Unity (Threading) screenshot 1

About this asset

Task for Unity makes threads easier!
Documentation
Forum
Changes
- Improved Async Scheduler integration
What is Task for Unity?
- Provides a simple way to manage threads
- Unlocks the power of multi-thread CPUs
Why is Task for Unity useful?
If you have long running thread-safe operations you can optimize your game by putting them on a separate thread without writing complex thread management code.
Features
Task.Run()
Runs work on separate thread (pool)
Task.ContinueWith()
Run work asynchronously when Task completes
Task<T>.Result
Task<T> performs same operations as Task except it has a Result where T = any type (int, float, etc)
Task.Exception
Gets exception from thread. Exceptions are usually tricky to handle in separate threads but Task.Exception provides an easy way to handle them!
Status
Check task's status with:
- Status
- IsCanceled
- IsCompleted
- IsFaulted (Exception)

Task.WhenAll
Creates a task that completes when all specified tasks are complete
Task.WhenAny
Creates a task that completes when any specified tasks are complete
Task.Wait()
Waits for Task to complete
Task.WaitAll()
Waits for all specified tasks to complete
Task.WaitAny()
Waits for any specified tasks to complete
Thread Pool
Thread pools are important to avoid the cost of creating a new thread. But Task manages this so you don't have to!
Want to run code on main, or spawn objects on a thread?
Async Scheduler
Want to run for loops in Parallel?
Parallel for Unity

From the publisher's Asset Store listing.