@honua/sdk-js
    Preparing search index...

    Interface IJobRun<T>

    Canonical async-operation handle. Methods are intentionally narrow so downstream tickets that submit jobs (operator workflows, manifest apply, etc.) can speak one vocabulary across protocols.

    interface IJobRun<T = unknown> {
        id: string;
        progress: JobProgress | undefined;
        status: JobStatus;
        type: string;
        cancel(): Promise<JobStatus>;
        poll(): Promise<JobSnapshot<T>>;
        results(options?: JobResultsOptions): Promise<JobResult<T>>;
        watch(listener: JobSnapshotListener<T>): () => void;
    }

    Type Parameters

    • T = unknown

    Implemented by

    Index

    Properties

    id: string

    Stable identifier assigned by the server when the job was accepted.

    progress: JobProgress | undefined

    Last-observed progress, if the server reported any.

    status: JobStatus

    Last-observed status. Backed by the most recent poll() / status() / watch() snapshot; reads are synchronous.

    type: string

    Process / operation identifier, e.g. an OGC processId.

    Methods