Thread Dispatcher
John Baracuda
$0.0
(no ratings)
Date |
Price |
---|---|
日期和时间 |
价钱($) |
11/10(2021) |
0.0 |
11/19(2024) |
0.0 |
Jump AssetStore
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.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 & DocumentationFeatures:• Dispatch the execution of an Action to the main thread.• Dispatch the execution of a Func 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 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 ♥• Api Compatibility Level: .NET Standard 2.0 or .NET 4.x• Scripting Backend: Mono or IL2CPP• Full C# source code included.