@adcp/client API Reference - v4.19.0
    Preparing search index...

    Function isTerminal

    • Experimental

      Checks if a task status represents a terminal state. Terminal states are those where the task has finished and will not change.

      Parameters

      • status: "completed" | "cancelled" | "working" | "failed" | "input_required"

        The task status to check

      Returns boolean

      True if the status is terminal (completed, failed, or cancelled)