@deskcreate/agentcraft
    Preparing search index...

    Interface WorkflowResult<TInput>

    Final result returned by workflow.run() and workflow.resume().

    interface WorkflowResult<TInput = unknown> {
        durationMs: number;
        input: TInput;
        runId: string;
        status: "completed" | "failed" | "partial";
        steps: WorkflowStepResult[];
        totalCost: number;
    }

    Type Parameters

    • TInput = unknown
    Index

    Properties

    durationMs: number
    input: TInput
    runId: string
    status: "completed" | "failed" | "partial"
    totalCost: number