Builder interface for creating TaskGroup instances.

interface TaskGroupBuilder<TArgs extends unknown[] = []> {
    id: string;
    taskGroupName: string;
    is(task: unknown): task is TaskGroup<TArgs>;
    toString(pretty?: boolean): string;
    (...args: TArgs): TaskGroup<TArgs>;
}

Type Parameters

  • TArgs extends unknown[] = []

    Arguments used to create the task group.

Hierarchy (View Summary)

Properties

Methods

Properties

id: string

Unique identifier for the task group builder.

taskGroupName: string

Name of the task group.

Methods

  • Converts the task group builder to a string representation.

    Parameters

    • Optionalpretty: boolean

      If true, formats the string for readability.

    Returns string

    A string representing the task group builder.