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

    Interface TemporalRequestClient

    Minimal client surface the temporal helpers need. The SDK's HonuaClient satisfies this via pipelineRequestJson; tests can pass a stub. Query parameters belong on path.

    interface TemporalRequestClient {
        pipelineRequestJson<T = unknown>(
            method: "GET" | "POST",
            path: string,
            init?: { body?: BodyInit | null; headers?: HeadersInit },
            signal?: AbortSignal,
        ): Promise<T>;
    }
    Index

    Methods

    • Type Parameters

      • T = unknown

      Parameters

      • method: "GET" | "POST"
      • path: string
      • Optionalinit: { body?: BodyInit | null; headers?: HeadersInit }
      • Optionalsignal: AbortSignal

      Returns Promise<T>