Thread Dispatcher View on Asset Store (opens in new tab)

Package details

Latest version
5.0.1
Last updated
First released
Unity version
2019.4.40 or later
Package size
5.6 MB
Files
26
Favorites
25
Views in the past week
3

Price tracking

Last checked
Tracked since
Lowest recorded
Free on

Keywords

Thread Dispatcher

by John Baracuda (opens in new tab)

1 rating, too few to average

Pass the execution of a Delegate, Coroutine or Task from a background thread to the main thread, and await its completion or result on the calling thread as needed.

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 Thread Dispatcher, 6 months Current Free; lowest Free; highest Free in this period. $0 Jun Jul Aug Sep Oct Nov

Asset preview

1 / 7

Thread Dispatcher screenshot 1

Thread Dispatcher screenshot 1

About this asset

Note: when updating Major versions of Thread Dispatcher from the Package Manager, don't forget to remove the old version from the project before importing the new one! :)

Thread Dispatcher is an open source tool to pass the execution of a Delegate, Coroutine or Task from a background thread to the main thread.

GitHub Repository & Documentation

Features:

• Dispatch the execution of an Action to the main thread.

• Dispatch the execution of a Func<TResult> to the main thread.

• Dispatch the execution of a Coroutine to the main thread.

• Dispatch the execution of a Task to the main thread.

• Dispatch the execution of a Task<TResult> to the main thread.

• Await the execution & result of a delegate or task on the calling thread.

• Await the start or the competion of a Coroutine on the calling thread.

• Asynchronous overloads have full cancellation support.

• Multiple extension methods to reduce boilder plate code.

• Full C# source code included.

• Uses UPM (Package can be imported via GitHub URL)

Donations accepted:

I spend a lot of time and effort working on this and other assets. If you like my work or feel generous, I would greatly appreciate a donation ♥

From the publisher's Asset Store listing.

Technical details

• Api Compatibility Level: .NET Standard 2.0 or .NET 4.x

• Scripting Backend: Mono or IL2CPP

• Full C# source code included.

Compatibility

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

As listed on the Asset Store.