Step


Object Hierarchy:

Object hierarchy for Step

Description:

public class Step : Object

One unit of the task list: either a single task or a concurrent group.

Purpose: Step wraps a list of task Details (children). It is the element over which the top-level List iterates sequentially; within a step, children run either alone (size == 1) or concurrently (size > 1).

What it does:

  • Exposes children (Gee.ArrayList of Details).
  • has_task_requiring_approval returns true if any child

    requires user approval before execution continues.

  • wait_refined yields until the single child has finished

    refining when children.size == 1; when size > 1, refinement

    is waited per task inside List.run_child, so this method

    returns immediately.

Task flow: List holds an ordered list of Step. Execution is sequential at the step level; for each Step, List either runs one run_child (single child) or starts run_child for each child and waits for all via wait_exec_done (concurrent). Step is the boundary between one task or concurrent group and the next step in sequence.

See also:

List, Details


Namespace: OLLMcoder.Task
Package: ollmchat

Content:

Properties:

Creation methods:

Methods:

Inherited Members:

All known members inherited from class GLib.Object