@adcp/sdk API Reference - v7.9.0
    Preparing search index...

    Type Alias TaskResult<T>

    TaskResult:
        | TaskResultCompleted<T>
        | TaskResultIntermediate<T>
        | TaskResultFailure<T>

    Result of a task execution.

    Discriminated union on success:

    • success: true + status: 'completed'data is T
    • success: true + intermediate status → task is progressing, data may be partial
    • success: falseerror is always a string, adcpError has structured details

    Type Parameters

    • T = any