@squidcloud/client
    Preparing search index...

    Interface ResolveJobRequest

    Represents a request to resolve a client-owned job with its result or error.

    interface ResolveJobRequest {
        error?: string;
        jobId: string;
        result?: unknown;
        status: "completed" | "failed";
    }
    Index

    Properties

    error?: string

    The error message, present when status is 'failed'.

    jobId: string

    The unique identifier of the job to resolve.

    result?: unknown

    The job result, present when status is 'completed'.

    status: "completed" | "failed"

    The terminal status to set on the job.