Result handle for a group of tasks (GroupResult in Python Celery).
Summary
Functions
Returns the number of completed tasks in the group.
Deletes the saved group metadata from Redis.
Returns true if any child result in the group failed.
Waits for all tasks in the group to complete and returns their results in order.
Alias for get/2 (matches GroupResult.join in Python Celery).
Creates a new %Celery.Result.GroupResult{}.
Returns true when all child results in the group are ready.
Restores a %Celery.Result.GroupResult{} from the Redis backend.
Saves the group result IDs to the Redis backend under celery-taskset-meta-<id>.
Returns true when all child results in the group succeeded.
Types
@type t() :: %Celery.Result.GroupResult{ app: Celery.t() | Celery.Config.t() | nil, id: String.t(), parent: Celery.Result.t() | nil, results: [Celery.Result.t()] }
Functions
@spec completed_count(t()) :: non_neg_integer()
Returns the number of completed tasks in the group.
@spec delete(t()) :: :ok
Deletes the saved group metadata from Redis.
Returns true if any child result in the group failed.
Waits for all tasks in the group to complete and returns their results in order.
Alias for get/2 (matches GroupResult.join in Python Celery).
@spec new(String.t(), [Celery.Result.t()], keyword()) :: t()
Creates a new %Celery.Result.GroupResult{}.
Returns true when all child results in the group are ready.
Restores a %Celery.Result.GroupResult{} from the Redis backend.
Saves the group result IDs to the Redis backend under celery-taskset-meta-<id>.
Returns true when all child results in the group succeeded.