This add-on helps GDScript pseudo-asynchronous scripting, including a set of classes to handle future-determined values through a shared interface.
var result = await Task.wait_all(
my_method,
my_signal,
Task.any(
my_another_method,
my_another_signal))It was created for the following purposes:
- Transform scripts in callback hell into intuitive flows.
- Make script (with scene) dependencies unidirectional toward the scene.
- Perform safe and unified await-ing through a shared
Taskinterface.
git clone https://github.com/ydipeepo/gdut-task.gitor download release.- Then copy
addons/gdut-taskdirectory into your project. - And enable GDUT Task from your project settings.
All contents of this project are licensed under the attached 🔗 MIT license.
Attribution is not required, but appreciated. If you would like to credit, please attribute to "Ydi".