Skip to main content
Version: v1

SummarizeResultPart TypeAlias

Signature

export declare type SummarizeResultPart<TSuccess, TFailure = undefined> = {
success: true;
data: TSuccess;
} | {
success: false;
data: TFailure | undefined;
message: string;
error: any;
retryAfterSeconds?: number;
};

Type Parameters

Parameter Default Description
TSuccess
TFailure undefined