Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

Home
Tools
Utilities
1/8
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.
Render pipeline compatibility
The Built-in Render Pipeline is Unity’s default render pipeline. It is a general-purpose render pipeline that has limited options for customization. The Universal Render Pipeline (URP) is a Scriptable Render Pipeline that is quick and easy to customize, and lets you create optimized graphics across a wide range of platforms. The High Definition Render Pipeline (HDRP) is a Scriptable Render Pipeline that lets you create cutting-edge, high-fidelity graphics on high-end platforms.
Unity VersionBuilt-inURPHDRP
2019.4.40f1
Compatible
Compatible
Compatible
Description

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

Technical details

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

• Scripting Backend: Mono or IL2CPP

• Full C# source code included.

Thread Dispatcher

(not enough ratings)
24 users have favourite this asset
(24)
FREE
License type
File size
5.6 MB
Latest version
5.0.1
Latest release date
Oct 31, 2022
Original Unity version
2019.4.40
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
Language
Feedback
Partners Program
Partners
USD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR