kea-client
    Preparing search index...

    Type Alias Requester

    Requester: <TResult, TArgs = unknown>(
        command: string,
        args?: TArgs,
        service?: string[],
    ) => Promise<TResult>

    Low-level command sender: posts {command, service, arguments} to the Control Agent and returns the unwrapped arguments of the first response entry, throwing KeaApiError if its result code is non-zero.

    Type Declaration

      • <TResult, TArgs = unknown>(
            command: string,
            args?: TArgs,
            service?: string[],
        ): Promise<TResult>
      • Type Parameters

        • TResult
        • TArgs = unknown

        Parameters

        • command: string
        • Optionalargs: TArgs
        • Optionalservice: string[]

        Returns Promise<TResult>