@archastro/sdk
    Preparing search index...

    Interface WorkerStatus

    Execution state of the background worker processing a routine run. Reflects the current job status and retry progress.

    interface WorkerStatus {
        attempt: number;
        max_attempts: number;
        status: string;
    }
    Index

    Properties

    attempt: number

    Number of times the worker has been attempted so far. 0 means the job has been enqueued but not yet started.

    max_attempts: number

    Maximum number of attempts the worker is allowed before the job is marked "discarded".

    status: string

    Current execution state of the worker. One of "queued", "executing", "retrying", "completed", "discarded", or "cancelled".