Edit of asset "Dispatch Queue" Accepted

Old/Current New/Edit
Title Dispatch Queue
Description Dispatch Queue implementation.

Supports synchronous and threaded execution, with the later being either serial (1 Thread) or concurrent (2+ Threads, a.k.a. Thread Pool).

There are signals for when each task is finished and another for when all tasks are finished, so it's very easy to hook callbacks or await until they are emitted.
Tasks can be prioritized by passing an optional integer priority to dispatch/dispatch_group methods. Lower priority tasks are executed first.
You can also dispatch a group of tasks at once and respond to a signal when all of them are finished.

Dispatch queues are RefCounted, but there are Node and Resource wrappers for it to easily integrate with other nodes and scenes.
Dispatch Queue implementation.

Supports synchronous and threaded execution, with the later being either serial (1 Thread) or concurrent (2+ Threads, a.k.a. Thread Pool).

There are signals for when each task is finished and another for when all tasks are finished, so it's very easy to hook callbacks or await until they are emitted.
Tasks can be prioritized by passing an optional integer priority to dispatch/dispatch_group methods. Lower priority tasks are executed first.
You can also dispatch a group of tasks at once and respond to a signal when all of them are finished.

Dispatch queues are RefCounted, but there are Node and Resource wrappers for it to easily integrate with other nodes and scenes.
Category Scripts
License CC0
Repository Provider GitHub
Repository Url https://github.com/gilzoide/godot-dispatch-queue
Issues Url https://github.com/gilzoide/godot-dispatch-queue/issues
Godot version Godot 4.0
Version String 1.1.0 1.1.0
Download Commit 9dd4de7d7074714a7903d35f175ec973c88dd1e9 9dd4de7d7074714a7903d35f175ec973c88dd1e9
Download Url (Computed) https://github.com/gilzoide/godot-dispatch-queue/archive/9dd4de7d7074714a7903d35f175ec973c88dd1e9.zip https://github.com/gilzoide/godot-dispatch-queue/archive/9dd4de7d7074714a7903d35f175ec973c88dd1e9.zip
Icon Url https://raw.githubusercontent.com/gilzoide/godot-dispatch-queue/main/icon.png