From eb720b6188e89ea882b799cb554379d920f3c969 Mon Sep 17 00:00:00 2001 From: blujai831 Date: Sun, 7 Jan 2024 09:28:08 -0800 Subject: [PATCH] Clarified documentation of Task.group. --- util/Task.gd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/util/Task.gd b/util/Task.gd index b37ddbc..1bac613 100644 --- a/util/Task.gd +++ b/util/Task.gd @@ -27,7 +27,8 @@ func sync() -> Variant: ## Creates a Task which can only finish when all subtasks have finished. ## -## Returns an array of the tasks' results in the same respective order. +## Syncing the task will return an array of the tasks' results +## in the same respective order. static func group(subtasks: Array[Task]) -> Task: var thunk := func() -> Array: var results := []