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

    Class HonuaOgcProcesses

    Top-level OGC API Processes handle.

    Index

    Constructors

    Properties

    client: HonuaClient

    Methods

    • Submit a process for execution and return an IJobRun — always, so the caller reads results through one surface whichever Core response shape the server chose:

      • asynchronous (Prefer: respond-async, or the server's own default) → a pollable run bound to the advertised job routes.
      • synchronous (200 with the results document) → an already-terminal run whose results() resolves immediately with zero further requests.

      Before anything is posted, mode is gated against what the server has declared: the Core conformance class when a conformance declaration is in hand, and the process's jobControlOptions when the description is (from request.jobControlOptions, an earlier describe()/list() on this handle, or — under capabilityPolicy: "strict" — a cached describe() performed here). An undeclared mode fails closed with HonuaCapabilityNotSupportedError.

      Type Parameters

      • T = unknown

      Parameters

      Returns Promise<IJobRun<T>>

    • Adopt an existing job by id (useful when reconnecting after navigation).

      Type Parameters

      • T = unknown

      Parameters

      • jobId: string
      • options: {
            basePath?: string;
            processId?: string;
            resultsPath?: string;
            statusPath?: string;
        } = {}

      Returns IJobRun<T>