A11 TypeScript API - v0.7.26
    Preparing search index...

    Class A11Runtime

    Runtime factory for the packaged native WASM implementation.

    Index
    • Report the backend of an object this factory produced, when known.

      Parameters

      • value: object

      Returns "wasm" | null

    • Native Flow service envelope.

      Parameters

      • request: Record<string, unknown>

      Returns StatusOr<Record<string, unknown>>

    • Execute a Flow in the pinned native worker, returning chunk JSON by port.

      Parameters

      • request: Record<string, unknown>
      • options: {
            onOutput?: (port: string, chunk: Record<string, unknown>) => void;
            signal?: AbortSignal;
        } = {}

      Returns Promise<StatusOr<Record<string, unknown>>>